turn cursor into magnefying lens?

They have: 53 posts

Joined: Oct 2005

Hello,
I was wondering if there are any scripts available which will help me transform the mouse cursor into a magnefying lens once it hovers over an image. I think that onmouse.hover will be what I need, but what about the image of the lens? Are there any images like this ready?

Thank you!

Busy's picture

He has: 6,151 posts

Joined: May 2001

From the w3c site:

The user agent retrieves the cursor from the resource designated by the URI. If the user agent cannot handle the first cursor of a list of cursors, it should attempt to handle the second, etc. If the user agent cannot handle any user-defined cursor, it must use the generic cursor at the end of the list.

Example(s):

P { cursor : url("mything.cur"), url("second.csr"), text; }

Here are a list of the default cursors:
http://www.echoecho.com/csscursors.htm

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.