Problem with lightbox gallery

Hello,
I am in the process of getting a website portfolio together. Here is my issue, when I log on and go directly to the portfolio page http://www.heapwebdesign.com/portfolio.html it works fine. When I try to link to the page via the index page the slideshow does not work... Any ideas?
Thanks in advance.

Hi
Move the following code to the head content of the page.
<script type="text/javascript">
// BeginWebWidget lightbox_gallery
          $(function() {
        $('#gallery1 a').lightBox();
// EndWebWidget lightbox_gallery
        </script>
PZ

Similar Messages

  • Problem with lightbox gallery widget!

    Hi I'm using the lightbox gallery in conjuction with the css only menu and the psry content slideshow.
    I simply cannot get the lightbox to work, it opens up the images in a new page.
    www.studio-88.co.za
    Please help anyone!

    Hi Scott
    Thank you so much for taking the time to look at my site.
    about half an hour after i posted I realised there was a case-sensitive error reffering to the pictures in the javascript...
    Wnated to delete the post however couldnt as my internet went offline.
    If you could help me with another issue though.
    As you can see the light box is currently set as a marquee on the page (<marquee><div> _lightbox </div></marquee>
    is it possible to get the images scrolling on one line?

  • Problem with image gallery

    Hi to all.
    With ios 5.01 I have a little problem with image gallery. As you can see I have only 1 image, but there is always this **** message "download 0 of 46) (sorry, but I'm Italian )
    I've removed my icloud account from settings, but there is nothing to do, this message don't goes away. What I can do? Thanks in advance

    Hello,
    Just adding a gallery I want to do the same slideshow WoodWing's, but in InDesign, if anyone knows of?
    Thank you
    Link video slideshow WoodWing's: http://www.youtube.com/watch?v=Xt6gNaEZ0-M&feature=relmfu
    The first slideshow shown

  • Help with lightbox gallery widget

    Hello
    I built a website for my photography business and used the lightbox gallery widget. I'm not massively HTML minded so I tend to build in design view and just tweak the HTML code.
    The gallery is here: http://www.emmarichards.co.uk/gallery.html
    When you click on one of the photos, it is not working properly, it just takes you to another webpage with just the image. It worked fine in the live view. I'm looking at it in IE, not sure which version but a fairly up to date one I think. I've also checked it using the Mozilla browser and having the same problem. How can I rectify this please? The pages code is as follows:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Barnsley Wedding Photographer - Emma Richards</title>
    <style type="text/css">
    <!--
    body {
    font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
    background: #4E5869;
    margin: 0;
    padding: 0;
    color: #000;
    background-color: #99BADB;
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
    padding: 0;
    margin: 0;
    h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;  /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
    padding-right: 15px;
    padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
    border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
    color:#414958;
    text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
    color: #4E5869;
    text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
    text-decoration: none;
    background-color: #FFFFFF;
    /* ~~ this container surrounds all other divs giving them their percentage-based width ~~ */
    .container {
    width: 80%;
    max-width: 1260px;/* a max-width may be desirable to keep this layout from getting too wide on a large monitor. This keeps line length more readable. IE6 does not respect this declaration. */
    min-width: 780px;/* a min-width may be desirable to keep this layout from getting too narrow. This keeps line length more readable in the side columns. IE6 does not respect this declaration. */
    background: #FFF;
    margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
    /* ~~the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo~~ */
    .header {
    background-color: #ffffff;
    /* ~~ This is the layout information. ~~
    1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
    .content {
    padding: 10px 0;
    /* ~~ This grouped selector gives the lists in the .content area space ~~ */
    .content ul, .content ol {
    padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
    /* ~~ The footer ~~ */
    .footer {
    padding: 10px 0;
    background-color: #ffffff;
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    float: right;
    margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
    float: left;
    margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
    clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
    body,td,th {
    font-family: Tahoma, Geneva, sans-serif;
    -->
    </style>
    <script src="scripts/jquery.js" type="text/javascript"></script>
    <script src="scripts/lightbox.js" type="text/javascript"></script>
    <link href="css/lightbox.css" rel="stylesheet" type="text/css" />
    <link href="css/sample_lightbox_layout.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    /* BeginOAWidget_Instance_2127022: #gallery */
      .lbGallery {
       /*gallery container settings*/
       background-color: #ffffff;
       padding-left: 180px; 
       padding-top: 20px; 
       padding-right: 180px; 
       padding-bottom: 20px; 
       width: 900px;
       height: auto;
       text-align:center;
      .lbGallery ul { list-style: none; margin:0;padding:0; }
      .lbGallery ul li { display: inline;margin:0;padding:0; }
      .lbGallery ul li a{text-decoration:none;}
      .lbGallery ul li a img {
       /*border color, width and margin for the images*/
       border-color: #ffffff;
       border-left-width: 0px;
       border-top-width: 0px;
       border-right-width: 0px;
       border-bottom-width: 0px;
       margin-left:5px;
       margin-right:5px;
       margin-top:5px;
       margin-bottom:5px:
      .lbGallery ul li a:hover img {
       /*background color on hover*/
       border-color: #ffffff;
       border-left-width: 0px;
       border-top-width: 0px;
       border-right-width: 0px;
       border-bottom-width: 0px;
      #lightbox-container-image-box {
       border-top: 0px none #ffffff;
       border-right: 0px none #ffffff;
       border-bottom: 0px none #ffffff;
       border-left: 0px none #ffffff;
      #lightbox-container-image-data-box {
       border-top: 0px;
       border-right: 0px none #ffffff;
       border-bottom: 0px none #ffffff;
       border-left: 0px none #ffffff;
    /* EndOAWidget_Instance_2127022 */
    </style>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2127022" binding="#gallery" />
    </oa:widgets>
    -->
    </script>
    </head>
    <body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#000000">
    <div class="container">
      <div class="header">
        <div align="center">
          <p><img src="1title 2.png" alt="emma richards barnsley wedding photographer" width="1144" height="368" /></p>
          <p><a href="about.html"><img src="1.png" alt="about emma richards barnsley wedding photographer" width="143" height="46" border="0" /></a><a href="weddings.html"><img src="1.weddings.png" alt="weddings information barnsley photographer" width="162" height="46" border="0" /></a><a href="gallery.html"><img src="1.gallery.png" alt="barnsley wedding photographer image gallery" width="162" height="46" border="0" /></a><a href="pricing.html"><img src="1.pricing.png" alt="barnsley wedding photographer pricing information" width="162" height="46" border="0" /></a><a href="engagements.html"><img src="1.engage.png" alt="engagement photography couples shoot barnsley" width="221" height="46" border="0" /></a><a href="http://emmarichardsuk.blogspot.com"><img src="1 blgo.png" alt="emma richards wedding photography blog" width="105" height="45" border="0" /></a><a href="contact.html"><img src="1 contact.png" alt="contact emma richards" width="162" height="46" border="0" /></a></p>
        </div>
        <!-- end .header --></div>
      <div class="content">
        <div id="gallery" class="lbGallery">
          <div align="center">
            <ul>
              <li> <a href="2.ABBIE AND KID.jpg" width="600" height="400" title=""><img src="2.ABBIE AND KID.jpg" width="150" height="100" alt="barnsley wedding photography" /></a>
              <li> <a href="2.R AND M CUTTING CAKE.jpg" title=""><img src="2.R AND M CUTTING CAKE.jpg" width="150" height="100" alt="Park Inn wedding" "wath" "barnsley" "photography" /></a>
              <li> <a href="alex laura 1 (5).jpg" title=""><img src="alex laura 1 (5).jpg" width="150" height="100" alt="barnsley wedding photographer" /></a>
              <li> <a href="alex laura 1 (8).jpg"><img src="alex laura 1 (8).jpg" width="150" height="100" alt="whitley hall wedding" "sheffield" "barnsley wedding photographer" "reception" /></a> </li>
              <li> <a href="tree closer.jpg" width="600px" height="400px" title=""><img src="tree closer.jpg" width="150" height="100" alt="" /></a> </li><br />
              <li> <a href="11.jpg" width="600" height="400" title=""><img src="11.jpg" width="150" height="100" alt="barnsley wedding photography" /></a>
              <li> <a href="10.jpg" title=""><img src="10.jpg" width="150" height="100" alt="barnsley wedding photography" /></a>
              <li> <a href="James Ruth Church128.jpg" title=""><img src="James Ruth Church128.jpg" width="150" height="100" alt="whitley hall wedding" "sheffield" "barnsley wedding photographer" "reception" /></a>
              <li> <a href="2.ABBIE GROUP.jpg"><img src="2.ABBIE GROUP.jpg" width="150" height="100" alt="barnsley wedding photographer" /></a> </li>
              <li> <a href="12-5.jpg" width="600px" height="400px" title=""><img src="12-5.jpg" width="150" height="100" alt="barnsley wedding photography" /></a> </li><br />      
              <li> <a href="alex laura 1 (3).jpg" width="600" height="400" title=""><img src="alex laura 1 (3).jpg" width="150" height="100" alt="barnsley wedding photography" /></a>
              <li> <a href="confetti crop.jpg" title=""><img src="confetti crop.jpg" width="150" height="100" alt="barnsley wedding photographer" /></a>
              <li> <a href="Mark &amp; Rachel 025.jpg" title=""><img src="Mark &amp; Rachel 025.jpg" width="150" height="100" alt="park inn wedding" "wath" "barnsley" "photography" /></a>
              <li> <a href="Abbie Ben 0336.jpg"><img src="Abbie Ben 0336.jpg" width="150" height="100" alt="barnsley wedding photographer" /></a> </li>
              <li> <a href="Abbie Ben 0309.jpg" width="600px" height="400px" title=""><img src="Abbie Ben 0309.jpg" width="150" height="100" alt="barnsley wedding photographer" "first kiss" /></a> </li><br />
              <li> <a href="laughing 2.png" width="600" height="400" title=""><img src="laughing 2.png" width="150" height="100" alt="whitley hall wedding" "sheffield wedding photography" /></a>
              <li> <a href="2.double.jpg" title=""><img src="2.double.jpg" width="150" height="100" alt="Park Inn wedding" "wath" "barnsley" "photography" /></a>
              <li> <a href="132.jpg" title=""><img src="132.jpg" width="150" height="100" alt="whitley hall wedding" "sheffield" "barnsley wedding photographer" "reception" /></a>
              <li> <a href="Abbie and Ben 0621.jpg"><img src="Abbie and Ben 0621.jpg" width="150" height="100" alt="barnsley wedding photography" /></a> </li>
              <li> <a href="Abbie Ben 0320.jpg" width="600px" height="400px" title=""><img src="Abbie Ben 0320.jpg" width="150" height="100" alt="barnsley wedding photography" /></a> </li><br />
              <li> <a href="Abbie Ben 0011 copy.jpg" width="600" height="400" title=""><img src="Abbie Ben 0011 copy.jpg" width="150" height="100" alt="bouquet" "barnsley wedding photographer" /></a>
              <li> <a href="James &amp; Ruth0202.jpg" title=""><img src="James &amp; Ruth0202.jpg" width="150" height="100" alt="barnsley wedding photographer" /></a>
              <li> <a href="alex laura 1 (4).jpg" title=""><img src="alex laura 1 (4).jpg" width="150" height="100" alt="barnsley wedding photographer"  /></a>
              <li> <a href="123.jpg"><img src="123.jpg" width="150" height="100" alt="rotherham" "park inn wedding" "wath" "barnsley" "photography" /></a> </li>
              <li> <a href="Mark &amp; Rachel 311.jpg" width="600px" height="400px" title=""><img src="Mark &amp; Rachel 311.jpg" width="150" height="100" alt= "rotherham" "Park Inn wedding" "wath" "barnsley" "photography" /></a> </li><br />
            </ul>
          </div>
        </div>
        <div align="center">
        <script type="text/javascript">
    // BeginOAWidget_Instance_2127022: #gallery
      $(function(){
       $('#gallery a').lightBox({
        imageLoading:   '/images/lightbox/lightbox-ico-loading.gif',  // (string) Path and the name of the loading icon
        imageBtnPrev:   '/images/lightbox/lightbox-btn-prev.gif',   // (string) Path and the name of the prev button image
        imageBtnNext:   '/images/lightbox/lightbox-btn-next.gif',   // (string) Path and the name of the next button image
        imageBtnClose:   '/images/lightbox/lightbox-btn-close.gif',  // (string) Path and the name of the close btn
        imageBlank:    '/images/lightbox/lightbox-blank.gif',   // (string) Path and the name of a blank image (one pixel)
        fixedNavigation:  false,  // (boolean) Boolean that informs if the navigation (next and prev button) will be fixed or not in the interface.
        containerResizeSpeed: 400,    // Specify the resize duration of container image. These number are miliseconds. 400 is default.
        overlayBgColor:   "#ffffff",  // (string) Background color to overlay; inform a hexadecimal value like: #RRGGBB. Where RR, GG, and BB are the hexadecimal values for the red, green, and blue values of the color.
        overlayOpacity:   0,  // (integer) Opacity value to overlay; inform: 0.X. Where X are number from 0 to 9
        txtImage:    'Image',    //Default text of image
        txtOf:     'of'
    // EndOAWidget_Instance_2127022
        </script><!-- end .content --></div>
    </div>
      <div class="footer">
        <hr />
        <p align="right" class="container">07794 430 229 //   [email protected]</p>
      <!-- end .footer --></div>
    <!-- end .container --></div>
    </body>
    </html>

    emmarichards4 wrote:
    Do I need to have the same path as in my root folder, so for example within my Public folder with my host, have a 'script's folder and then put the 'jquery.js' file within that or should that not matter?
    All paths (the route from the parent file to the dependent file) are crucial.
    If the path is not correct, the required file will not be found and the effect will not work.
    There's no need to upload files individually and manually place them into remote folders. DW handles all file and folder paths for you if you use the Files panel.
    For example, http://www.emmarichards.co.uk/scripts/lightbox.js = 404 error. The file still does not exist on the server in that location.
    You should be able to click on the css and scripts folders locally, click Put and all files in those folders will be uploaded correctly.

  • Problems using lightbox gallery widget

    Hi,  I am just learning Dreamweaver and thought I would try out a widget.  I tried the lightbox gallery widget, and it mostly works, except that I get a box with a question mark on the right, under the photo when it is enlarged.  It can't find some of the included widget image icon files. Anybody know why?  It does it in live view and firefox and safari.
    I looked at the code and from what I can tell, the code references images which appear to be in the correct directory /images/lightbox/blahblah.gif.
    For example, the widget is supposed to say 'close' under the image, and that text is a .gif image apparently.
    Anyone have this trouble or know what the problem could be?
    Thanks
    Bob

    I found a fix for something similar that occurred on my machine. I too was seeing no problems locally but when I posted it to my site, it just had the placeholder and no images....
    Apparently, dreamweaver is smarter than the browser... (maybe incorrect statement) however..... the file extensions are case sensitive!
    I had this-------- <A href="Img/CGM_1.JPG" border="0"  rel="lightbox[Img/CGM_1thumb.JPG]" title="CGM Pic Set"><img src="Img/CGM_1thumb.JPG" /></a>
    <a href="Img/CGM_2.jpg" rel="lightbox[Img/CGM_1thumb.JPG]"></a>
                      <a href="Img/CGM_3.jpg" rel="lightbox[Img/CGM_1thumb.JPG]"></a>
                      <a href="Img/CGM_4.jpg" rel="lightbox[Img/CGM_1thumb.JPG]"></a>
    Well, I didnt think anything was so bad, all of the colors were right I wasn't getting any warnings.... wtf?
    As it turns out, and this is only because I just started a new image set after testing an individual - - baby steps - - if you use the properties bar at the bottom of DW, it applies a different case for specific parts...... i.e. this is what it produced
    <A HREF="Img/CGM_1.jpg" border="0"  rel="lightbox[Img/CGM_1thumb.jpg]" title="CGM Pic Set"><img src="Img/CGM_1thumb.jpg" /></a>
                      <a HREF="Img/CGM_2.jpg" rel="lightbox[Img/CGM_1thumb.jpg]"></a>
                      <a HREF="Img/CGM_3.jpg" rel="lightbox[Img/CGM_1thumb.jpg]"></a>
                      <a HREF="Img/CGM_4.jpg" rel="lightbox[Img/CGM_1thumb.jpg]"></a>
    Notice the HREF's are now UPPER case and the jpg's are now lower case. !!!! really?!?!?
    Also, another thing to look out for is the folder/ in front of your thumbnail; make sure it is there. In my case I use my sam "Img" folder, not the "images" folder that lightbox creates.
    Hope this helps, I beat my head against the wall for a total of 10 hours over 2 days trying to figure this out. I couldn't find anything on the internet. I'm going to post this so others having this issue get it resolved. I found those, just no resolution.

  • Issue with Lightbox Gallery

    Hello,
    This should hopefully be a minor problem, I just can't figure it out.
    I have a lightbox gallery set up, and it works perfectly except once clicked on, underneath the image it has this large white space area underneath it which contains the 'prev,' and 'next' buttons.
    Could anyone possibly look at my website/coding to see if I've made a newbie mistake here?
    Any help at all would be hugely appreciated!
    Cheers!
    My site:
    http://www.paulricedesign.com/photo.html

    As a newbie you have done very well so keep it up.  Just keep working on it and read widely about web designs and keep visiting people's sites to get new ideas.
    Good luck.

  • IE problem with Lightbox

    Hi there.
    My question concerns http://www.energywa.co.za
    You can click on any of the 2 images on the right.
    When clickin in FF and Google Chrome, the lightbox works 100%. But, when trying it in IE 8, the image opens on the same page. When clicking anywhere else on the page, the effect of the lightbox shows, but no image.
    Can you please check and advise what I am doing wrong?
    Regards,
    Deon

    At the top of the forum page it reads:
    Before you post a topic please verify that:
    You are using the latest Spry files
    The latest version of the Adobe Spry Framework is 1.6.1, this is the same version that ships with Dreamweaver CS4. If you use Dreamweaver CS3 (uses Spry 1.4), its wise to upgrade your files to the latest version. This can easily be done using the Spry Updater that can be found here.
    Incidently, there is no problem with IE8 and Microsoft is in the process to urge IE6 users to upgrade.
    Ben

  • Problems with lightbox and jquery

    Hi guys,
    Thanks for checking out my post...
    I am using lightboxes for a gallery which work fine. However I'm also using a jQuery to drag in Tweets from Twitter.
    I thought it was all working fine but the Twitter box doesn't seem to be updating.
    After looking into the problem I added the below to my HTML header...
    <script>jQuery.noConflict();</script>
    ...and then changed the $ in lightbox.js to jQuery but to no avail - the lightboxes just stopped working.
    Can someone please take a look and see what I need to do to get the scripts running please?
    Here the link
    Thank you and hope to hear from you!
    SM

    404 Error, File not found.
    There have to be at least 100 lightbox clones available now.  Some of the older ones use jQuery 1.2.
    As of this writing, the most recent script from Google APi is jQuery 1.5.0 which may or may not work on older plug-ins.  It's always a hit and miss thing with this stuff.
    http://code.google.com/apis/libraries/devguide.html#jquery
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Problem with Web Gallery (firewall issue??)

    I have the following problem:
    When I upload a webgallery from my office, everything works fine.
    When I try the same thing from home, it doesn't work. I get a can't connect to .mac error.
    What I also found out:
    Looking at my .mac preferences from the system preferences panel works at home and at the office.
    Looking at the web gallery tab under preferences in iphoto works ONLY at the office. At home I get a time out eventually.
    Anyone have an idea? I do have a rather transparent network on both places.
    Thanks!
    Martin

    ma_nj:
    Welcome to the Apple Discussions. Try deleting the iPhoto preference file, com.apple.iPhoto.plist, from your User/Library/Preferences folder on you home computer. Then try again.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Password problem with MobileMe Gallery

    I'm having some trouble with configuring a password for my MobileMe gallery. My goal is to restrict access to two or three family members. I am logged into my MobileMe account, and have shared some photos to a gallery inside Aperture. They were successfully published. When I edit the settings of the album, there is an option to configure "Album viewable by". When I proceed to "Edit names and passwords", I add a couple of user names and passwords, and click OK. I'm taken back to the original configuration screen. When I try to edit the names again, just to confirm that they've been recorded, the user list is empty! It's as if the users I added weren't saved. Nor do they show up on the "viewable by" list. I only have the choice of "Everyone" and "Only Me". Is this yet-another-keychain-problem?

    I checked out the procedure you described and can confirm what you say. The only names in my list are those created previously in iWeb galleries. These can be deleted in Aperture but not added to.

  • Problem with photo gallery

    I have a 16GB iPad 2 with 5 ios with the latest update and when I realized that the last synchronization into my photo albums is a problem: one of them just disappear and return as soon as I update photos and then clicking again on albums. Why is this?
    If I do a sync without this album, and then make a new sync with the album again he would stop to this problem?
    Thank you very much

    There are three patches to fix iweb photos page for FF3 posted in this forum:
    http://discussions.apple.com/thread.jspa?threadID=1563823
    http://discussions.apple.com/thread.jspa?messageID=7418611

  • Problems with image gallery, Help !

    Hi, i need this gallery to be seperated from the thumbnails it interact. I need the button to open the Xmlgallery1 instead of the Xmlgallery. In other words, i want to load a different image than the thumbnails shows. Ive already copied the xml gallery to seperate it but i cannot find a way to load another xmlgallery...
    Here the code, it is a simple vertical slider:
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.display.Loader;
    var galleryXML1:XML;
    var galleryXML:XML;
    var xmlLoader:URLLoader;
    var xmlLoader1:URLLoader;
    var xmlRequest:URLRequest;
    var xmlRequest1:URLRequest;
    xmlLoader1 = new URLLoader();
    xmlLoader = new URLLoader();
    xmlRequest1 = new URLRequest('galleryXML1.xml');
    xmlRequest = new URLRequest('galleryXML.xml');
    var numOfImages:int;
    var numOfImages1:int;
    var currImage:int = 0;
    var currImage1:int = 0;
    var imageLoader:Loader;
    var imageLoader1:Loader;
    var imageRequest:URLRequest;
    var imageRequest1:URLRequest;
    imageLoader = new Loader();
    imageLoader1 = new Loader();
    var imagesList:Array = new Array();
    var imagesList1:Array = new Array();
    var loadedImages:Array = new Array();
    var loadedImages1:Array = new Array();
    xmlLoader.load(xmlRequest);
    xmlLoader.addEventListener(Event.COMPLETE,onComplete);
    function onComplete(e:Event):void
              galleryXML = new XML(xmlLoader.data);
              numOfImages = galleryXML.photo.length();
              var i:int = numOfImages;
              while(i--)
                        imagesList.push(String(galleryXML.photo[i].url));
              startLoading();
              imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,loadNext);
    function startLoading():void{
              imageRequest = new URLRequest(imagesList[currImage]);
              imageLoader.load(imageRequest);
    function loadNext(e:Event):void
              if(currImage == numOfImages-1)
                        loadedImages.push(imageLoader.content);
                        imageLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE,loadNext);
                        var i:int = galleryXML.photo.length();
                        container = new Sprite();
                        while(i--)
                                  var rect:Bitmap = loadedImages[i];
                                  var bitmapCont:Sprite = new Sprite();
                                  bitmapCont.addChild(rect);
                                  container.addChild(bitmapCont);
                                  bitmapCont.y = i * 105;
                                  bitmapCont.width = 118;
                                  bitmapCont.height = 103;
                                  bitmapCont.addEventListener(MouseEvent.CLICK,draw,false,0,true);
                                  bitmapCont.addEventListener(MouseEvent.MOUSE_OVER,overFunc,false,0,true);
                                  bitmapCont.addEventListener(MouseEvent.MOUSE_OUT,outFunc,false,0,true);
                                  rect.y = 540;
                        addChild(container);
                        container.x = 960;
                        addEventListener(Event.ENTER_FRAME,update);
                        return;
              loadedImages.push(imageLoader1.content);
              currImage++;
              imageRequest = new URLRequest(imagesList[currImage]);
              imageLoader.load(imageRequest);
    function overFunc(e:Event):void
    function outFunc(e:Event):void
    import flash.display.Sprite;
    import flash.events.Event;
    import flash.display.BitmapData;
    import flash.display.Bitmap;
    import flash.events.MouseEvent;
    import flash.filters.BlurFilter;
    var bd:BitmapData = new BitmapData(1080,1920,true,0x00000000);
    var b:Bitmap = new Bitmap(bd);
    b.y = 0;
    b.x = 0;
    b.height = 1920;
    b.width = 1080;
    addChild(b);
    var container:Sprite
    var vel:Number = 0;
    var acc:Number = 0;
    var damp:Number = 0.95;
    function update(e:Event):void
              acc = 0;
              if(mouseY>1200)
              acc = - - - -1;
              if(mouseY<550)
              acc = - - -1;
              vel +=acc;
              vel*=damp;
              container.y += vel;
              if(container.y>200)
              container.y = 200;
              if(container.y < 730-container.height)
              container.y = 730-container.height;
    function draw(e:MouseEvent):void
              bd.draw(Sprite(e.currentTarget));

    replace
    xmlLoader.load(xmlRequest);
    with
    xmlLoader.load(xmlRequest1);

  • Problems with My Gallery since ICS update.

    Prior to the ICS update, My Gallery would display not only my pictures taken with the camera but also others on my SD card and in the internal phone storage picture folders.  Since ICS it only shows from the camera folder and even that seems often out of sync and slow to update.  Is this an issue or is it something I'm missing on the process?

    Yup it kind of comes with the Territory i had a Droid X and a HTC incredible and on my X i done 6 factory resets and on my Inc. i did about the Same and i got so good at it that when i Visited the Local store and somebody had an issue the Reps sent the Customer over to Me.. But i understand when a device isn't running as it should it gets very frustrating especially the money that is spent on it.. Just to pass on to Ya i use a App called System Panel App it's in the Play Store and is Free but the Paid Version is only 2.99 and it shows Quite a bit of what your device is Doing and the Temps it is Running i'v had the App on my Devices since Wildman pointed it out to me two years ago. And i check out what my phones are doing all the time with app. Give it Try..

  • Problem with filter gallery

    My filter gallery is not running anymore. Re-installed Photoshop but didn't work. What can I do?

    1. The Artistic Gallery will not show as an option in filters until you change it in the preferences dialogue box. Photoshop>File>Preferences>Plugins - show all Gallery Names
    2. Artistic filters will only work on 8 bit images - not 16 or 32, so save your original as a jpeg or some other 8 bit format. If your option is ghosted it is because the filter cannot be used  on your images bit size.

  • Problems with lightbox

        I added a lightbox to a page and it overlaps everything.  All my other pages adjust in size to the other widgets or pictures I have added, however when the lightbox is added the page stays the same and the lightbox covers up the footer.  It does this in preview and design.  I tried to publish before posting for anything to see, but the publish fuction is giving me errors and not allowing the upload of my pictures (although it worked fine last night).
    Anyway, here is a screenshot:

    Hello,
    Lightbox does not have the Target container visible when the page loads.
    It is only visible when you click on the Triggers.
    This is the reason why the Footer is not pushed down. The footer pushes down to provide space to the content to be placed on the page.
    However in this case, it is just the thumbnails which are displayed on the page hence it does not push down the footer.
    Hope it clarifies.
    Regards,
    Sachin

Maybe you are looking for

  • Macbook Pro Print to HP officejet pro 8600 plus

    Having trouble printing from macbook pro (mountain lion) to HP Officejet Pro 8600 Plus.  Laptop connected to printer and can see and print test page, but when I try to print anything, nothing happens. Printer icon on laptop shows in use and printing

  • MIGO - Blank out the Qty in unit of entry field on PO receipt

    Within MIGO upon PO receipt, standard behaviour is that it defaults Qty in unit of entry field to the total remaining outstanding qty. Customer has requirement to blank out the Qty in unit of entry field on PO receipt. We have looked at Business Add

  • Lookout 6.7.1 Client old alarms are not displaying.

    The Client Lookout program alarms are pointed to the server alarm objects (example  ..\[ServerLink]\Alarms\test_alarm.active). However when the alarm display filter option on the client PC for "old alarms" is set to greater than 0, no old alarms are

  • How to make ajax call (writtern in js) using loadrunner

    My application has a javascript which makes an ajax call (calling a jsp page). When i execute the loadrunner script, the ajax call is not happening. I have tried all available protocols but that ajax call is not working. Please suggest a way to execu

  • Web Intelligence Document Freezing

    Hello everyone, I hope someone could help me solve this issue. I open a new Web Intelligence document,  select the required universe on which to build my document, it starts loading for a couple of minutes and then freezes. this issue appeared just y