UBB.Dev
Posted By: mattywhi closing unwanted windows - 03/21/2001 8:08 PM
Can someone please tell me how you can close new browser windows that are opened on entering a site? i am pretty sure that there is a javascript command that will do it, and i want to know how to make it do it on loading a page.

thanks for any help with this in advance

Bisleyboy
Posted By: Wuggi Re: closing unwanted windows - 03/22/2001 5:50 AM
yea i got one its for IE 4 and up only, but hey, screw netscape and the rest!!
Code
code:


i think u should be able to change it a lil if you use another service, but it will definetly werk for tripod
Posted By: mattywhi Re: closing unwanted windows - 03/22/2001 12:48 PM
thanks alot. I can edit it, but where does it go for a CGI page?
Posted By: Terrorhawk Re: closing unwanted windows - 03/23/2001 4:31 PM
Quote
quote:
go to general settings en put the code in de both headers
sow every time a cgi opens somthing its put the header on it
Posted By: mattywhi Re: closing unwanted windows - 03/24/2001 9:19 PM
ok, i am new to cgi and that meant absolutely nothing to me. could you possibly explain where abouts it would go. thanks
Posted By: Matt Jacob Re: closing unwanted windows - 03/24/2001 10:13 PM
Go to your control panel, then edit your template that you're using. Add the code you want into the header insert or header sections of the template.
Posted By: mattywhi Re: closing unwanted windows - 03/25/2001 7:52 PM
thanks alot, it makes soo much more sense now. simple stuff that i can understand.
Posted By: mattywhi Re: closing unwanted windows - 03/25/2001 8:08 PM
ok, i inserted it into the header section like you suggested, but it still doesnt close the window, do the dimensions of it matter too much? because i realised that the height and width might not be the correct sizes in the script and what i need to replace them with
Posted By: Terrorhawk Re: closing unwanted windows - 03/26/2001 12:06 AM
On what server do you have you'r board ??

Hypermart.net ???
Posted By: [S0uL] Re: closing unwanted windows - 03/30/2001 5:24 AM
do ya have any java script for blocking popups on hypermart.net
Posted By: Terrorhawk Re: closing unwanted windows - 04/01/2001 8:01 PM
Yes i'm working on it ..
i still have some bugs to fix in it for hypermart..

Posted By: Terrorhawk Re: closing unwanted windows - 04/01/2001 8:12 PM


This one works better :))
Posted By: The Prohacker Re: closing unwanted windows - 04/01/2001 10:26 PM
Even though my post will be frowned apon becuase of this subject... http://www.bannakillaz.f2s.com/hypermart.html
For some reason the admin's here don't like people requesting banner kills laugh laugh laugh
Posted By: Wuggi Re: closing unwanted windows - 04/02/2001 3:10 PM
yea cause its breaking the User Agreement to places like hypermart and theres always a slight chance that you're account might get deleted just like the stupid zero-tolerance to mp3 on hypermart, but there are so many pages on hypermart so not a really big risk.
Posted By: Matt Jacob Re: closing unwanted windows - 04/02/2001 6:39 PM
I'm going to close this thread now, because it's turning into what it shouldn't have.
© UBB.Developers