PDA

View Full Version : Done ... but with errors PopUP Image Viewer



cristywisty
07-18-2008, 10:38 PM
1) Script Title: pop up image viewer

2) Script URL (on DD): http://www.dynamicdrive.com/style/csslibrary/item/css-popup-image-viewer/

3) Describe problem:

I have the code installed as shown on a for the mouse over image here at Dynamic, but it gives me an error at the bottom of the page (left hand side) that says "error on page" when you click on the small thumbnail image.

I would like to have the thumbnail image be clickable to my product description page. Is this possible, if so, what am I doing wrong?

Thanks ~ Cristy
www.mysweetmystique.com

jscheuer1
07-19-2008, 03:34 AM
Change this and similar:


<A class=thumbnail href="javascript:popUpBox('$product.photoImage')">

to:


<A class=thumbnail href="javascript:popUpBox('$product.photoImage')" onclick="return false;">

cristywisty
07-19-2008, 07:11 AM
Thanks... that got rid of the error. Is it possible to have the picture link to the corresponding product info page?

~Cristy

jscheuer1
07-19-2008, 09:30 AM
It can be an ordinary link, yes. In that case just use:


<A class=thumbnail href="whatever.htm">

Where 'whatever.htm' is the name of the page you want it to go to.