PDA

View Full Version : Resolved jQuery Image Magnify v1.11



rexi
05-24-2011, 11:02 PM
1) Script Title: jQuery Image Magnify v1.11



2) Script URL (on DD):

http://www.dynamicdrive.com/dynamicindex4/imagemagnify.htm



3) Describe problem:

It is about magnifier " image cursor":

dsettings: {
magnifyby: 3, //default increase factor of enlarged image
duration: 500, //default duration of animation, in millisec
mgopacity: 0.2 //opacify of original image when enlarged image overlays it
},
cursorcss: 'url(magnify.cur), -moz-zoom-in', //Value for CSS's 'cursor' attribute, added to original image...




When I put my image cursor it is OK for FF browser,..but I can't see nathing on IE8.

But when I put:
cursorcss: 'pointer, -moz-zoom-in',

it is OK for IE8 because it show hand overmouse.But nathing on FF browser.

So..it is posible cursor image for both browser.

Thanks.

ddadmin
05-25-2011, 07:59 AM
The string you enter for a custom cursor is simply the standard CSS3 syntax for custom cursors (ie: see this article (https://developer.mozilla.org/en/Using_URL_values_for_the_cursor_property)). You might try the below to get an image cursor in FF and a pointer in IE:


cursorcss: 'url(magnify.cur), pointer',

rexi
05-25-2011, 01:43 PM
Thanks.