Status Bar text

  Ben Avery 15:52 29 Sep 03
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 03

From a previous post

click here

  slowhand_1000 16:34 29 Sep 03

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

  Ben Avery 16:38 29 Sep 03

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 03

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 03

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.

Best phone camera 2016/2017: Galaxy S7 vs iPhone 7 vs Google Pixel vs HTC 10 Evo vs OnePlus 3T vs…

1995-2015: How technology has changed the world in 20 years

The Pantone Colour of the Year 2017 is Green

Super Mario Run preview | Hands-on first impressions of Super Mario Run: Mario's iPhone & iPad…