PDA

View Full Version : Image Power Zoomer URL Problem



rozzarob
04-05-2012, 07:05 AM
1) Script Title: Image Power Zoomer V1.1

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/powerzoomer.htm

3) Describe problem: When using friendly URL's, Image Power Zoomer is not working and gives me an error in internet explorer.....
Webpage error details

Message: Object doesn't support this property or method
Line: 33
Char: 2
Code: 0
URI: http://www.bathzones.co.uk/Product_ID/832/Aqualisa_Aquavalve/

However, when using the actual url i.e http://www.bathzones.co.uk/fullitem.php?f_id=832 everything works fine.

This problem occurs in internet explorer, google chrome and firefox. Any help would be appreciated as this is a great little enhancement for showing images

ddadmin
04-05-2012, 04:58 PM
Try changing the reference to ddpowerzoomer.js in the HEAD section of your page to an absolute URL reference, for example:


<script type="text/javascript" src="http://www.bathzones.co.uk/ddpowerzoomer.js">

This way any URL rewrite of the page's URL will not effect the reference to the .js file, which becomes non existent in this case.