delayed exit pop-up script needed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • newbie
    Confirmed User
    • Jun 2002
    • 108

    #1

    delayed exit pop-up script needed

    i need a script that can be set to pop after a while rather than straight away

    would even be better if it only popped when the browser window has been closed

    thanks in advance
    <embed src="http://www.pluginstories.com/sig.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="120" height="60"></embed>
  • phogirl69
    Confirmed User
    • Jul 2001
    • 3330

    #2
    PHP Code:
    <SCRIPT language="JavaScript"> 
    <!-- 
    setTimeout("window.open('<" target=newhttp://www.whatever.com>;')",6000); 
    // --> 
    </SCRIPT> 
    


    adjust according to your needs
    6000 is for milliseconds
    Last edited by phogirl69; 08-14-2002, 07:12 PM.

    Comment

    • newbie
      Confirmed User
      • Jun 2002
      • 108

      #3
      sorry but that one's not happening

      seams to have an error in it
      <embed src="http://www.pluginstories.com/sig.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="120" height="60"></embed>

      Comment

      • Lane
        Will code for food...
        • Apr 2001
        • 8496

        #4
        i think that code phogirl gave openes the popup only while the page is open

        delayed exit popups are nasty and they involve some dirty js tricks.. i dont even know if it works with the latest IE version.

        as a friendly advice, i dont recommed you using them..
        if you wanna do it to pull some dirty tricks on the surfers, then go fuck yourself..

        Comment

        • Nbritte
          Confirmed User
          • Sep 2001
          • 689

          #5
          actually the only way I know of doing it is to open a window on exit and make it a pop behind or onblur so it is never in front of other windows then do the delay pop up with that window. but they only tend to piss people off. I did see on that was funny pop up a small window that moves in a counter clockwise direction on the screen untill it completes one circle it really gets you attention and is a pain to close until it stops lol

          Brian

          SexyCityCash gets in Bed with PornoDan

          Comment

          Working...