Web Hosting Talk







View Full Version : HTML help pls


myself1982
12-08-2002, 02:58 PM
Hi

What is the code so that in the bottom browser window, yo ucan have your url there so when someone say hovers over a link, the link doesn't show up but the url you put there is still seen?

Thanks

Aralanthir
12-08-2002, 03:24 PM
?? Do you mean displaying text in the status bar?

<a href="your_file_name.html"
onmouseover="window.status='The text you want to display'; return true;"
onmouseout="window.status=' '; return true;">Your Link Name</a>

Something like that?

myself1982
12-08-2002, 03:35 PM
Ahh sorta like that.

But im not sure if i can post the site example as it's a mp3 site, the site is called 'musiclines' (Domain will be easy to work out from that).

Anyways, look at the status bar at the bottom and you wil see it permantly has the website url in the status bar.

tagalaxy.net
12-08-2002, 10:31 PM
those scripts are very annoying for the visitor, and dont actually protect anything.

Aralanthir
12-09-2002, 12:02 AM
Why exactly would you want to do that? A simple view source would reveal the link if the visitor really wanted to see it.

I personally think it's kind of annoying not to know exactly where a link is going. Even just a descriptive text instead of the full URL is better than a static text.

But anyway, if you really want to do it:

Put this in the body tag:

<body onload="window.defaultStatus='Your Text In the Status Bar';">

filburt1
12-09-2002, 12:28 AM
I agree, it's extraordinarly irritating when a script edits the status bar. I expect to see a URL when I hover over a link, not the link's name just repeated. If I can't see the URL I don't click the link and go so far as to never go back to that site.

:)

Toolz
12-09-2002, 08:08 AM
I agree too. Just confine your creativity to the page itself - and even then please avoid too much flashing and animation please.

I also hate that new feature where they change the colour of the vertical scroll bar in IE. Anybody agree?