thor2002
11-10-2005, 01:23 PM
Hi,
I´ve found this site, http://www.bigstockphoto.com , where visitors, if they hover over thumbnails get a larger version of the same thumbnail.
Thusfar I have:
copied all CSS styles,
copied all scripts,
even copied most images from the thumbnail maps (not all, just for one image to sample the code),
but without any success.
I tried browsing through the css, the scripts etc, but I got confused...
Can anybody help me out here (I am a fruitcake when it comes to working with scripts, css etc.....I´m more a graphics kind-of guy)
Here´s what I´ve got:
HTML:
In head:
call popup and common and categories script.
call style.css (which in turn calls two other css-styles)
In body:
<p><a id="h97759" href="bg_1.jpg"><img id="97759" onMouseOver="imgHover(this);" onMouseOut="imgCancel(this);" border="0" style=" width: 110px; height: 73px; " alt="..." src="thumb/small/97759.jpg"></a>
</p>
CSS: copied style.css, account.css and main.css (incl. maps)
JS: copied popup.js, common.js, categories.js
images: copied spacer.gif, thumbs/small/97759 etc.
What am I doing wrong???? All I get is the alt-text?!?
Can I get the same result with, say Hover??
Can anybody help me get this effect working??
Desperate Thor2002:(
I´ve found this site, http://www.bigstockphoto.com , where visitors, if they hover over thumbnails get a larger version of the same thumbnail.
Thusfar I have:
copied all CSS styles,
copied all scripts,
even copied most images from the thumbnail maps (not all, just for one image to sample the code),
but without any success.
I tried browsing through the css, the scripts etc, but I got confused...
Can anybody help me out here (I am a fruitcake when it comes to working with scripts, css etc.....I´m more a graphics kind-of guy)
Here´s what I´ve got:
HTML:
In head:
call popup and common and categories script.
call style.css (which in turn calls two other css-styles)
In body:
<p><a id="h97759" href="bg_1.jpg"><img id="97759" onMouseOver="imgHover(this);" onMouseOut="imgCancel(this);" border="0" style=" width: 110px; height: 73px; " alt="..." src="thumb/small/97759.jpg"></a>
</p>
CSS: copied style.css, account.css and main.css (incl. maps)
JS: copied popup.js, common.js, categories.js
images: copied spacer.gif, thumbs/small/97759 etc.
What am I doing wrong???? All I get is the alt-text?!?
Can I get the same result with, say Hover??
Can anybody help me get this effect working??
Desperate Thor2002:(