Cybertooth Tiger
03-23-2003, 09:00 PM
Hi.
I trust I headed the question correctly - sorry if not, hard to xplain in a short sentance what i need.
I have a script that was provided to me throught this forum, I believe it was alien51 who helped out.
On the main page I have a series of thumbnails, when one of the thumbnail's are clicked, the larger image is opened in a "standard page" ie; a page that has the site banner etc. Neat trick, as it is better than the image opening in a blank looking page at the top left.
sample here....
http://www.dragpixs.co.nz/meetings/brayxx021.html
This is the code on the main page with all the thumbnails...
<a href="viewer.html?folder/image.jpg"><img src="folder/imaget.jpg" width="135" height="90" border="0" alt="" /></a>
This is the script that is in the "standard" page
<script language="javascript">
ref = document.location.search.substr(1);
document.write('<img src="'+ref+'">');
</script>
This works just great.
What I wish to add is text under the image that appears on the "standard" page. As an example - something like this..
<a href="viewer.html?folder/image.jpg"><img src="folder/imaget.jpg" width="135" height="90" border="0" alt="" /></a><br><text.add='this is the text that will appear on the standard page under the image'>
The idea is a thumbnail of a product with a very brief description, then, when the visitor click the thumbnail a larger image is displayed in the "standard" page with all the details i need to add.
I hope I am making sense!
I am sure it can be done, any help very much appretiated.
Tonz
I trust I headed the question correctly - sorry if not, hard to xplain in a short sentance what i need.
I have a script that was provided to me throught this forum, I believe it was alien51 who helped out.
On the main page I have a series of thumbnails, when one of the thumbnail's are clicked, the larger image is opened in a "standard page" ie; a page that has the site banner etc. Neat trick, as it is better than the image opening in a blank looking page at the top left.
sample here....
http://www.dragpixs.co.nz/meetings/brayxx021.html
This is the code on the main page with all the thumbnails...
<a href="viewer.html?folder/image.jpg"><img src="folder/imaget.jpg" width="135" height="90" border="0" alt="" /></a>
This is the script that is in the "standard" page
<script language="javascript">
ref = document.location.search.substr(1);
document.write('<img src="'+ref+'">');
</script>
This works just great.
What I wish to add is text under the image that appears on the "standard" page. As an example - something like this..
<a href="viewer.html?folder/image.jpg"><img src="folder/imaget.jpg" width="135" height="90" border="0" alt="" /></a><br><text.add='this is the text that will appear on the standard page under the image'>
The idea is a thumbnail of a product with a very brief description, then, when the visitor click the thumbnail a larger image is displayed in the "standard" page with all the details i need to add.
I hope I am making sense!
I am sure it can be done, any help very much appretiated.
Tonz