How do I make the cursor change to the hand when it's over a picture as if it were over a link in a webpage?
-
I can use javascript or CSS, whatever it takes. The reason I want to do this, is because I'm using an onClick command to change the source on another image on the page, but the cursor remains an arrow pointer, since they are not links. How can I change it to a hand pointer? I've seen the pointers changed on Myspace.
-
Answer:
It sounds like you do not want it to be a link (anchor tag: <a >) so just put a style on the image: <img src="the_file.jpg" style="cursor:pointer">
Rockstar at Yahoo! Answers Visit the source
Other answers
Can you make the picture a link? If so, that will work.
Yoi_55
In CSS: <style type=text/css> img:hover { cursor:pointer!important; } </style> Sadly stupid IE doesn't support anything but links on hover.... Maybe IE7 willl be up to standards.
J.F.®
Related Q & A:
- How do I change the cursor from a blinking black block to a blinking line?Best solution by Server Fault
- How do I make a permanent link on my 360 blog?Best solution by Yahoo! Answers
- How can I make this career change - Marketing/Admin to Fine Arts?Best solution by Yahoo! Answers
- How do I make a picture into a link?Best solution by Yahoo! Answers
- How do I make a Facebook link to my profile?Best solution by fluther.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.