As with all people doing this, I want a link to http://anothersite/blah/blah/blah.html to appear in the status bar as: http://mysite/page.html When the user clicks the link they are taken to the other site. Here's what Im using: <a href="http://anothersite/blah/blah/blah.html" onmouseover="window.status=http://mysite/page.html'; return true;">Link</a> Code (markup): The problem with this is that when Im using this code, the status bar shows NOTHING at all. I dont want to use htaccess because I have a lot of links to a lot of different places and I would rather deal with this on a link by link basis. Any help as to what Im doing wrong would be greatly appreciated. Thanks!
What you are doing wrong is trying to override the default behavior of the browser, something that javascript should never have been allowed to do in the first place (and wouldn't even work here in FF or Opera because I have their scripting options set to never allow that!) Which is why you see it abused it scam e-mails so bloody often... Which is all I can assume you are trying to do.
So again, you are trying to hide where the user is REALLY going WHY? There's no reason to do that unless it's something sneaky/underhanded/morally questionable.
Probably 80% of resellers cloak their links through some sort of script or htaccess. Nevermind I have found my solution