killbrowser

  a very simple shockwave closes the browser window it is contained in
shockwave close window javascript




  how to close the browser window

I shiver with fear at the prospect of Shockwave movies closing their
containing browser...


this is the suicidal button script:

on mouseUp me
  gotonetpage( "javascript:top.close();" )
end

(my first attempt used getNetText() and worked only with Netscape. 
 Thanks to some help from Lingo-L I came to notice that flaw)
 

Home shock + cgi Bits 'n pieces Director Lingo Shocklets Contact