PDA

View Full Version : Resolved onload with thumbnailvewer2.js



winst
04-25-2010, 02:56 PM
Hey all,

I've been using the thumbnailviewer2.js on my art portfolio website (http://www.wi-ch.com), 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

jscheuer1
04-25-2010, 04:49 PM
Just hard code it into your target area:


<span id="expanded"></span>

Example:


<span id="expanded"><img src="Images/fullsize/port14.jpg" alt="original image" title=""></span>

winst
04-25-2010, 05:47 PM
Just hard code it into your target area:


<span id="expanded"></span>

Example:


<span id="expanded"><img src="Images/fullsize/port14.jpg" alt="original image" title=""></span>

Awesome! So simple. Thank you !!!