Is there anyway I can bring my main page to the front automatically, so it is over the top of the banner ads?
as demonstrated here http://www.andyatherton.co.uk Using java or similar? Thanks Andy |
I think
<body onblur="self.focus();"> in the main page will do it. Steve |
Tried that one before, couldn't get it to work.
I have a DHTML Script that maximizes on entry, and I'm sure I've seen one that brings to front, but i cant find it :( thanks anyway Andy |
Easy, just add this javascript to the head of your page:
<script language="javascript"> <!-- if(top != self) { top.location = 'http://www.yoursite.com/'; } //--> </script> Should do the job ;) [Edited by legacyPete - 1/27/2002 8:36:09 PM] |
Cheers Pete, that has got rid of the banner at the top, but have you any idea how i can remove the popup window, or bring my main window in front of the popup?
Ta Andy |
I doubt you will be able to stop the popup window, but you can add this to the body tag to bring your page to the front:
onload="self.focus()" |
Thanks :D
|
All times are GMT +1. The time now is 02:42 PM. |
© 2024 MH Sub I, LLC dba Internet Brands