Lesik
03-25-2010, 11:02 PM
I need help with Image Thumbnail Viewer.
I don't know where I have to put this
The code references three files, which you should download below:
thumbnailviewer.css
thumbnailviewer.js
loading.gif (used by the "loading" div message)
and how to do this in my case.
As mentioned in the intro, to use this script, just give the link on the page a rel="thumbnail" declaration, with the "href" pointing to the URL to the enlarged image. If the link contains a "title" attribute, its value will be used as the image's description:
<a href="castle.gif" rel="thumbnail" title="This is beautiful castle for sale!">Castle</a>
I don't know where I have to put this
The code references three files, which you should download below:
thumbnailviewer.css
thumbnailviewer.js
loading.gif (used by the "loading" div message)
and how to do this in my case.
As mentioned in the intro, to use this script, just give the link on the page a rel="thumbnail" declaration, with the "href" pointing to the URL to the enlarged image. If the link contains a "title" attribute, its value will be used as the image's description:
<a href="castle.gif" rel="thumbnail" title="This is beautiful castle for sale!">Castle</a>