generalnewbie Posted April 7, 2002 Share Posted April 7, 2002 <script language="JavaScript">win155 = window.open('','cons723'); win155.blur();self.focus();var url = "http://" + self.location.host;var file = "/locmntl/hotfreebies.html";if (win155.document.URL.indexOf(url) == -1) { win155.location.href = url + file; } ok thats the script that makes the popup i forgot how do i call a window to close? anyone know if this would work <script> function killer() window.close('/locmnt/hotfreebies.html') <script/> Link to comment Share on other sites More sharing options...
0 psycho Posted April 7, 2002 Share Posted April 7, 2002 Hmmm...i believe i have seent this JavaScriot before somewhere. I can't remember exactly how it is you close the window besides the obviouse Alt+F4. check out this Java site ((thousands of scripts) may be able to help you. Regards :bandit: PsYcHo :bandit: Link to comment Share on other sites More sharing options...
0 psycho Posted April 7, 2002 Share Posted April 7, 2002 **** i forgot to add the link LOL!! here it is http://javascript.internet.com Link to comment Share on other sites More sharing options...
0 Tim Dorr Veteran Posted April 7, 2002 Veteran Share Posted April 7, 2002 or you could pay $3 a month and get ad-free hosting from tons of places...... :p Link to comment Share on other sites More sharing options...
Question
generalnewbie
<script language="JavaScript">win155 = window.open('','cons723'); win155.blur();self.focus();var url = "http://" + self.location.host;var file = "/locmntl/hotfreebies.html";if (win155.document.URL.indexOf(url) == -1) { win155.location.href = url + file; }
ok thats the script that makes the popup
i forgot how do i call a window to close?
anyone know if this would work
<script>
function killer()
window.close('/locmnt/hotfreebies.html')
<script/>
Link to comment
Share on other sites
3 answers to this question
Recommended Posts