nickrand
10-28-2011, 04:33 PM
1) Script Title: jQuery Image Magnify v1.11
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/imagemagnify.htm
3) Describe problem: I've installed the script as per the instructions, however, when the cursor is placed over an image in Internet Explorer the magnify image does not display, but when clicked the image will enlarge. Everthing works fine in Firefox!
I've amended the code in jquery.magnifier.js to show the full url of the magnify.cur image, as below:-
jQuery.imageMagnify={
dsettings: {
magnifyby: 3, //default increase factor of enlarged image
duration: 500, //default duration of animation, in millisec
imgopacity: 0.2 //opacify of original image when enlarged image overlays it
},
cursorcss: 'url(http://localhost/htdocs/jon/magnify.cur), -moz-zoom-in', //Value for CSS's 'cursor' attribute, added to original image
zIndexcounter: 100,
and i've included class="magnify" in the script, as below:-
<img src="images/basses/<?php echo $row['image']; ?>" title="<?php echo $row['bass_title']; ?>" class="magnify"/>
I can't understand why the scipt wont work in IE, does anyone have the answer?
Many thanks.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/imagemagnify.htm
3) Describe problem: I've installed the script as per the instructions, however, when the cursor is placed over an image in Internet Explorer the magnify image does not display, but when clicked the image will enlarge. Everthing works fine in Firefox!
I've amended the code in jquery.magnifier.js to show the full url of the magnify.cur image, as below:-
jQuery.imageMagnify={
dsettings: {
magnifyby: 3, //default increase factor of enlarged image
duration: 500, //default duration of animation, in millisec
imgopacity: 0.2 //opacify of original image when enlarged image overlays it
},
cursorcss: 'url(http://localhost/htdocs/jon/magnify.cur), -moz-zoom-in', //Value for CSS's 'cursor' attribute, added to original image
zIndexcounter: 100,
and i've included class="magnify" in the script, as below:-
<img src="images/basses/<?php echo $row['image']; ?>" title="<?php echo $row['bass_title']; ?>" class="magnify"/>
I can't understand why the scipt wont work in IE, does anyone have the answer?
Many thanks.