Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mouse pointer not changing on hover over link 1

Status
Not open for further replies.
May 20, 2010
18
0
0
US
Hello to all,

This may seem trivial but.....

I have a picture on my page which, when clicked, opens a new window with a specific size. I used the behaviors function in dreamweaver to accomplish this.

Works great.

Now the issue. When a user hovers over the picture, the mouse pointer does not change as to indicate that the area is clickable. They can click the picture and it works as intended, but the mousepointer does not change as to indicate a clickable area.

The code is:
<img src="/images/myimage.png" width="169" height="150" onclick="MM_openBrWindow('/Web/images/fdic.jpg','FDIC','width=687,height=401')" /><br />

How can I modify this mouse pointer behavior, so that it chagnes to indicate a clickable area.

TekSupporter
MCP, A+, CNA
 
Assuming you want the mouse pointer to be a pointing hand use the cursor:pointer style to get it.

Code:
<img src="/images/myimage.png" width="169" height="150" onclick="MM_openBrWindow('/Web/images/fdic.jpg','FDIC','width=687,height=401')" [red]style="cursor:pointer;"[/red]/><br />



----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Behind the Web, Tips and Tricks for Web Development.
 
Thank You.

I have added the code, and it is working perfectly.



TekSupporter
MCP, A+, CNA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top