PDA

View Full Version : Expando Image script help



kpall312
03-03-2009, 02:36 PM
http://dynamicdrive.com/dynamicindex4/expandoimage.htm
Hi,
I'm a contractor in VA with 0 experience in this field. This is why I need help please. I built my site http://www.vawoodworks.com/portfolio.html myself with BlueVoda. I like to put EXPANDO on my site,but I'm not getting what I need to do.
This is what I did so far:
http://i213.photobucket.com/albums/cc179/kpall312/before1.jpg

I know I need to download "expando.js" but where I need to save it? In BlueVoda (my site builder)?


Where I need to make these changes?:
<p>
<img class="expando" border="0" src="amster2.jpg" width="100" height="75">


The highligted before.jpg is my first pic i like to change.:
http://i213.photobucket.com/albums/cc179/kpall312/before.jpg
Any help greatly appreciated.

jscheuer1
03-03-2009, 05:13 PM
The expando.js file goes in the same folder as your page that's using it.

Expando doesn't use thumbnails. It uses your full size image. You make up an image tag, set its source to the large image, and set its width and height attributes to the reduced size that you want that image to appear as at first:


<img class="expando" src="large.jpg" width="50" height=75">

kpall312
03-03-2009, 05:30 PM
The expando.js file goes in the same folder as your page that's using it.

Expando doesn't use thumbnails. It uses your full size image. You make up an image tag, set its source to the large image, and set its width and height attributes to the reduced size that you want that image to appear as at first:


<img class="expando" src="large.jpg" width="50" height=75">
Thanks John for the fast reply. I will try it later today.
Krisztian