/    Sign up×
Community /Pin to ProfileBookmark

changing the mouse pointer

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 [url]www.ces-canada.com/cesrpr.htm[/url]

Thanx

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@havikApr 09.2003 — 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
Copy linkTweet thisAlerts:
@toorudezauthorApr 09.2003 — worked like a charm... thnx
Copy linkTweet thisAlerts:
@havikApr 09.2003 — 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
×

Success!

Help @toorudez spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...