The Little Guy Posted May 31, 2008 Share Posted May 31, 2008 How do you hide the text in a browsers progress bar? Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted May 31, 2008 Author Share Posted May 31, 2008 I meant the status bar, I did get it to working in FF, but it doesn't work in IE... Here is what I have: <script type="text/javascript"> onload=function(){ var aTags = document.getElementsByTagName('a'); for(var i=0;i<aTags.length;i++){ aTags[i].setAttribute('onmouseover','window.status=\'\'; return true'); } } </script> Quote Link to comment Share on other sites More sharing options...
ILYAS415 Posted May 31, 2008 Share Posted May 31, 2008 what has the tag name 'a'? Quote Link to comment Share on other sites More sharing options...
kbh43dz_u Posted May 31, 2008 Share Posted May 31, 2008 if you can, just forget the script. "setAttribute" doesn't work with IE. Add the attribute directly to your link. Example: <a href="pat/to/file.html" onmouseover="window.status=' '; return true;"></a> (this also should work with javascript turned off) kind regards Quote Link to comment Share on other sites More sharing options...
KevinM1 Posted May 31, 2008 Share Posted May 31, 2008 Try: <script type="text/javascript"> window.onload = function() { var links = document.getElementsByTagName("a"); for(var i = 0; i < links.length; i++) { links[i].onmouseover = function() { window.status = ""; } } } </script> Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted June 1, 2008 Author Share Posted June 1, 2008 Try: <script type="text/javascript"> window.onload = function() { var links = document.getElementsByTagName("a"); for(var i = 0; i < links.length; i++) { links[i].onmouseover = function() { window.status = ""; } } } </script> Nope, that doesn't work Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted June 1, 2008 Author Share Posted June 1, 2008 OH, I take that back it does work, just needed to add return true; in there. Quote Link to comment Share on other sites More sharing options...
ILYAS415 Posted June 1, 2008 Share Posted June 1, 2008 could av wrote that b4 every1 posted y'know Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted June 2, 2008 Author Share Posted June 2, 2008 could av wrote that b4 every1 posted y'know I was talking to Nightslyr, his code does work after I place return true; in there, not mine. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.