Click to See Complete Forum and Search --> : changing the mouse pointer


toorudez
04-09-2003, 03:04 PM
I have the following code on a page that I'm working on.

function OpenMe(newin)
{
flyout=window.open(newin,"flyout","resizable=no,scrollbars=yes,width=500,height=300,top=10,left=10");
return false;
}
......
<li><a onclick="OpenMe('faq-i.html')">How do I order a survey?</a>

The problem is, that when the mouse moves over the 'How do I order a survey?' it doesn't change to the little hand, it stays as a I cursor. Is there a way to change this? (I don't want to have <a href="..." onclick="....">)

The webpage is at www.ces-canada.com/cesrpr.htm

Thanx

havik
04-09-2003, 03:13 PM
Try this:

<a onclick="OpenMe('faq-i.html')" style="cursor: hand;">How do I order a survey?</a>

It works for IE but I haven't tested it for NS yet. It also might be easier to put it into a style sheet.

Havik

EDITED: had an extra '>' that needed to be taken out

toorudez
04-09-2003, 03:16 PM
worked like a charm... thnx

havik
04-09-2003, 03:19 PM
Here's a better way of doing it:

style="cursor: pointer; cursor: hand;"

I found this page and it explains why there
http://devedge.netscape.com/viewsource/2002/cursor/

Havik