Results 1 to 2 of 2

Thread: help with image viewer

  1. #1
    Join Date
    Sep 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default help with image viewer

    Hi, I used the code from this http://www.dynamicdrive.com/dynamici...thumbnail2.htm to create a thumbnail image viewer for a client.
    Here is what I have http://beadzandbloomz.com/emmypp.php
    When it first loads, I'd like to have the first image already on the page instead of having to click on it for it to load on the right. This is driving me crazy! Thanks in advance for any advice!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    In the future, please post about Dynamic Drive Scripts in the Dynamic Drive Scripts Help section here where I've moved this thread.

    That said, it's simple. You may put anything you like in the loadarea division. It will be shown on page load and will be overwritten the first time a trigger is activated. Example (from Step 2 on the demo page, additions highlighted):

    Code:
    <a href="http://www.nasa.gov/images/content/167040main_image_feature_738_ys_4.jpg" rel="enlargeimage" rev="targetdiv:loadarea" title="The Universe is just waiting to be explored">Saturn #1</a><br />
    <a href="http://www.nasa.gov/images/content/168177main_image_feature_749_ys_4.jpg" rel="enlargeimage" rev="targetdiv:loadarea,link:http://dynamicdrive.com">The Moon #1</a><br />
    
    
    <div id="loadarea" style="width: 600px">
      <div>
        <img src="http://www.nasa.gov/images/content/167040main_image_feature_738_ys_4.jpg" alt=""><br />
        The Universe is just waiting to be explored
      </div>
    </div>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Replies: 0
    Last Post: 03-07-2012, 07:59 PM
  2. Integrating Facebox Image Viewer with Carousel Viewer
    By button1 in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 12-11-2008, 12:26 AM
  3. image thumbnail viewer II (set image sizes, default image)
    By ramtanion in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 05-07-2008, 12:26 AM
  4. Combine Image Viewer and Image Viewer II
    By timmay9162 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 06-04-2007, 08:26 PM
  5. Image Thumbnail Viewer II - Default Image in Load Area Reappear
    By Intersign in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 11-10-2006, 03:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •