/    Sign up×
Community /Pin to ProfileBookmark

Altering the text displayed in browser status bar

If I mouse over a link, such as the following…

<a href=”javascript:createNewReview( ‘500’, ‘2002’, ‘userId’);”>

…the status bar along the bottom edge of the browser will display “javascript:createNewReview( ‘500’, ‘2002’, ‘userId’);”. Is there a way to control what is displayed on the status bar? I’d like to display a message that is not so revealing, such as “Create a new Evaluation” instead of display sensitive information, such as the employee id, year, and userId from above.

Thanks

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@CrazyGazFeb 19.2003 — using window.status will do that

<a href="javascript:createNewReview( '500', '2002', 'userId');" onMouseOver="window.status='TEXT YOU WISH TO DISPLAY'; return true"

onMouseOut="window.status=''; return true>

I Think that'll do it.

-Gaz-
Copy linkTweet thisAlerts:
@dab100Feb 19.2003 — You can also use onmouseout to change the status bar back to something you want to display when not on mouse over


<a href="javascript:createNewReview( '500', '2002', 'userId');" onmouseout="window.status='welcome to my homepage or what ever you want'; return true;" onmouseover="window.status='My comments here'; return true;">
Copy linkTweet thisAlerts:
@SAFXauthorFeb 19.2003 — Yes, it works! Thanks a lot dude!

This is a great site! Quick answers! Thanks again ?

SAFX
×

Success!

Help @SAFX 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.7,
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,
)...