|
|
The DHTML thumbnail zooming script: How it worksTags: dhtml, image, javascript, script, thumbnail, zoomFrom a high-level perspective, here's how it goes down: Feel free to re-use the code on your own website. Add this just inside the <body> tag of any page you want to use it on (Thanks Frederic for reminding me about this): <script src='http://cre.ations.net/imagezoom.js' type='text/javascript'></script> <span id='insertimageshere' style='position: absolute; text-decoration: none'> </span> <a id='lostfocusthingy' style='position: absolute; text-decoration: none' href='#'> </a> Then for each image, use this code: <a class='expand_a' onclick='imagezoom(this, "http://url.to/full.size.image")'> <img src="http://url.to/thumbnail.image" class='expand_img' /> </a> If you have alignment issues, make sure you don't have any unclosed <p> tags or anything of that sort. Let me know if you use the code; I love to hear when my creations are appreciated! Comments: ![]() Log in or register to post comments. Comments and questions to Syndication:
|













Posted by natetrue 1 year ago ( 14-Mar-2007 10:43:26 )
Posted by willotoons 1 year ago ( 18-Apr-2007 10:56:51 )