Status Bar text

  Ben Avery 15:52 29 Sep 2003
Locked

G'day

I'm playing around with my status bar text at the moment and I know that there is a way to change the status bar text when you hover over a hyperlink to read "Click for..." or whatever in the actual status bar rather than displaying the website address.

Could someone tell me how to do this please?

Thank you!

  slowhand_1000 16:32 29 Sep 2003

From a previous post

click here

  slowhand_1000 16:34 29 Sep 2003

That will teach me to re-read a question. Not quite what you wanted Ben, sorry.

  Ben Avery 16:38 29 Sep 2003

in fact that may be better than what I said!

I have a javascript action for the status bar already which is like this:

<script>
<!-- Hide from old browsers
message = "Welcome to click here!^" +
"The Web Site of Ben Avery & Leah Gibbons^" +
"I Hope you enjoy your stay!^" +
"Please sign our guest book.^" +
"Moderated by Ben Avery.^" +
"^"
scrollSpeed = 25
lineDelay = 1500
txt = ""
function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}
// Unhide -->
scrollText(0)
</script>

I will try it to see if the above javascript just allows this text to carry on when you put the mouse over a hyperlink. If so, that would be preferred!

Will post back.

BA

  Ben Avery 16:42 29 Sep 2003

I have to add it to each page with hyperlinks to make it work but it seems to allow the standard text from the above javascript to carry on when you go over a hyperlink.

Thank you!

BA

  Joe Wood 17:43 01 Oct 2003

I don;t know if it is still of interest to you but I was just reading through the above posts and I have just had a quick look at you site. I can see that what you have in the status bar is quite flashy but if you still want to make the text in the status bar change when you hover over a link you can use the following onMouseover and onMouseOut parts of the code:

<a href="#" onMouseOver="window.status = 'Your message here'; return true;" onMouseOut="window.status = ';">Click here</a>

That's about is and it will work with all text and image links.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5T review: Hands-on

See the Best Button Badge Designs of 2017

iPhone X review

Black Friday 2017 : date, sites participants & bonnes affaires