Hi, I would like to hide the URL's that appear in the left downside of a browser when te cursor is moved over a link. The script i will paste underneath is working fine if i put it in the head of a webpage. However i am using a page that is build with frames and do not have acces to all the files that are used in that frame. My question is: Is there a way to hide the URL's in the status bar with a script that is placed on the page that contain the frame so that there is no need to change the files that are shown in that frame. I have searched the web but didn't find an answer. The script i found and is is working fine on a single page is: <script> function hidestatus(){ window.status=' ' return true } if (document.layers) document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT) document.onmouseover=hidestatus document.onmouseout=hidestatus </script> Help would be appreciated! Kind regards, Steven
try to use this self.framename.document. in place of document. <script> function hidestatus(){ window.status=' ' return true } if (self.framename.document.layers) self.framename.document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT) self.framename.document.onmouseover=hidestatus self.framename.document.onmouseout=hidestatus </script>
Hi Kmap, Thanks for your reply. I tried that, assumin that it the name of the frame is "test" the code wil be like this: if (self.test.document.layers) self.test.document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT) self.test.document.onmouseover=hidestatus self.test.document.onmouseout=hidestatus Unfortunately this is not working and still showing the URL in the status bar. Any ideas? Kind regards, Steven
this is the only way i know using javascript u can refrence child frame and using that you can hide the links I am not sure about the exact coding or how u r doing but lil research it ,it will work surely Regards Alex
Thanks for your responce. Spend some time searching for an answer on Google but i can not get it to work. The code i have now is: <html> <head> <title>Frames</title> <script> function hidestatus(){ window.status='' return true } if (self.frames["test"].document.layers) self.frames["test"].document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT) self.frames["test"].document.onmouseover=hidestatus self.frames["test"].document.onmouseout=hidestatus </script> </head> <frameset cols = "100%,*"> <frame id="test" name="test" src ="http://www.test.com"> </frameset> </html> If anyone has an idea ho to get this to work than please let me know. Kind regards, Steven