View Full Version : change mouse icon on MouseOver() event
07-19-2009, 11:33 AM
i have a simple div that has one line of text. the text is blue and underlined, so it looks like a link. i have an onclick() event for it to change element visibilities on my page. i would really like to change the mouse icon from an arrow to the hand pointer (the one you see when you hover over a hyperlink) when the mouse is over the div. i'm not sure if I need an API call for something like this or not. Hopefully there is a simpler way to do this than what i am doing. I tried experimenting with <a href> but i have no actual link to use, as i am not linking to anything. does anyone have any suggestions?
07-19-2009, 12:19 PM
Try this in your css.
is this what you wanted?
07-19-2009, 12:42 PM
this will work
07-19-2009, 12:48 PM
I tried experimenting with <a href> but i have no actual link to use, as i am not linking to anything. does anyone have any suggestions?
07-19-2009, 03:34 PM
i have a simple div that has one line of text. the text is blue and underlined, so it looks like a link.
But for some reason isn't an anchor element. I think abduraooft provided the best answer.
But if script were disabled, the text would still be there, but wouldn't have any reason to be? It wouldn't do anything? A lot of people use NoScript in Firefox. I use it all the time and initially see various new sites without any script at all. If it looks like it's needed, or I know that it is, I'll enable it.
07-19-2009, 08:00 PM
this will work
}thank you so much andrew. i apologize for it being so simple. i love the intellisense in dreamweaver, but i am not a java programmer, nor do i know HTML. i am a VB person. that worked a treat. once again, thank you so much....i appreciate it. :)
07-19-2009, 08:06 PM
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.