Results 1 to 3 of 3

Thread: onload with thumbnailvewer2.js

  1. #1
    Join Date
    Apr 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default onload with thumbnailvewer2.js

    Hey all,

    I've been using the thumbnailviewer2.js on my art portfolio website, and while it works perfectly I can't quite figure out how to display a full-size image when the page loads. Since I'm code-retarded, would anyone be able to tell me what I need to add to make it load the first image (so that there's something to the right of the thumbnails without having to click on one first)? Thanks so much!

    (My website is linked above)

    Winston
    Last edited by winst; 04-25-2010 at 05:48 PM. Reason: resolved

  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

    Just hard code it into your target area:

    HTML Code:
    <span id="expanded"></span>
    Example:

    HTML Code:
    <span id="expanded"><img src="Images/fullsize/port14.jpg" alt="original image" title=""></span>
    - John
    ________________________

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

  3. #3
    Join Date
    Apr 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    Just hard code it into your target area:

    HTML Code:
    <span id="expanded"></span>
    Example:

    HTML Code:
    <span id="expanded"><img src="Images/fullsize/port14.jpg" alt="original image" title=""></span>
    Awesome! So simple. Thank you !!!

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
  •