jimfog Posted July 28, 2011 Share Posted July 28, 2011 I want to use a behavior to open a browser window on clicking a word in a text.I have managed to do that, i used Dreamweaver to create the Javascript code to accomplish the above.Nonetheless there is sth else i cannot do.When the user moves its mouse pointer over the word i want the mouse pointer to become the(ordinary ) handso that the user understands that there, lies an interactive behavior.See this site to understand what i am talking about: http://www.e-radio.grHover over a radio station image and click on it.It is a usual javascript behavior i am referring to it here. Nothing special Link to comment Share on other sites More sharing options...
Ingolme Posted July 28, 2011 Share Posted July 28, 2011 You just need to set the cursor property of the element: http://w3schools.com/cssref/pr_class_cursor.asp Link to comment Share on other sites More sharing options...
ShadowMage Posted July 28, 2011 Share Posted July 28, 2011 You can change the cursor in CSS with:cursor: pointer;EDIT: Ingolme's quicker than I... Link to comment Share on other sites More sharing options...
jimfog Posted July 28, 2011 Author Share Posted July 28, 2011 I did not know this little detail, that there is a cursor property css styling.Knowledge for css(and not only css) just seems endless.Thanks Link to comment Share on other sites More sharing options...
ShadowMage Posted July 28, 2011 Share Posted July 28, 2011 Knowledge for css(and not only css) just seems endless.Indeed. Every time I think I have a technique figured out, someone comes along and shows me a better/faster/easier way......Especially with HTML 5 and CSS 3 hitting the streets now. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.