Board index   FAQ   Search  
Register  Login
Board index php forum :: HTML JavaScript

turn cursor into magnefying lens?

Javascript coding ..

Moderators: macek, egami, gesf

turn cursor into magnefying lens?

Postby ktsirig » Sat Oct 28, 2006 4:40 am

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!
ktsirig
New php-forum User
New php-forum User
 
Posts: 36
Joined: Mon Sep 19, 2005 12:22 pm

Re: turn cursor into magnefying lens?

Postby vadrowolf » Thu Dec 09, 2010 8:39 am

i hope this work
Code: Select all
<div id='hover'>VDASDVADVAS</div>
document.getElementById("hover").style.cursor="url(path/dsad.cur)";
vadrowolf
New php-forum User
New php-forum User
 
Posts: 4
Joined: Thu Dec 09, 2010 8:10 am


Return to JavaScript

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron