I'm not expecting anyone solev this one!
This page is on a domain hosting site.
it cannot be edited.
the SRC in the line <frame src="http://sl00257/test.htm" is the only one I have any control over - I've edited this locally for testing.
The top frame contains a banner ad and can be over written easliy by the using the frame name see the second listings below.
What I need to do though is supress the popup window.
The window closes itself after 6 seconds but I don't want it at all.
I tried re-using the window name with a differnt SRC. This seemed to work fine on my PC but once uploaded to the server if doesn't work reliably.
Code:<script language="JavaScript"> <!-- if (window != window.top) top.location.href = self.location.href ukpop = open("http://uk2.net/ukpop.htm","uk2net","resizable,top=20,left=20,width=360,height=260"); //--> </script> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="Author" content="UK2.NET"> <meta name="GENERATOR" content="WebDiversion (tm) version 1.6 by UK2.NET (C) Copyright 1999 - Patent pending - HTML theft will be prosecuted"> <meta name="description" content=""> <meta name="keywords" content=""> <title>b2b Electronic Data Interchange</title> </head> <frameset rows="60,*" border="0" FRAMEBORDER=0 FRAMESPACING=0 BORDERCOLOR="#000000"> <frame src="http://uk2.net/ukheader.htm" name="uk2netheader" FRAMEBORDER=0 MARGINHEIGHT=1 MARGINWIDTH=1 SCROLLING=NO NORESIZE> <frame src="http://sl00257/test.htm" name="uk2netwebdiversion"> <noframes> <body bgcolor="#ffffff"> <p><a href="http://uk2.net/"><font face="Arial">CLICK HERE FOR FREE DOMAINS</font></a></p> </body> </noframes> </frameset> </html>
test.htm contains:
Code:<script language="JavaScript"> <!-- ukpop = open("popup.html","uk2net","top=20,left=20,width=360,height=260"); //ukpop.close(); //tried this but looks messy! //change contents of top frame parent.frames('uk2netheader').location = 'header.html'; //--> </script> <HTML> <body> <H1>My domain</H1> </body> </HTML>


Reply With Quote