SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    Who Me? JeremyL's Avatar
    Join Date
    Dec 1999
    Location
    Dallas, TX
    Posts
    296
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was wondering if anyone had a javascript that does a full screen pop up behind the current browser window onLoad? Hopefully with cookies so that it only opened up for unique visitors.

    The one used on sitepoint for the newsletter is perfect since I can switch it over to onLoad instead of onUnload but how do I get it to go behind the current browser?

    Thanks

  2. #2
    Who Me? JeremyL's Avatar
    Join Date
    Dec 1999
    Location
    Dallas, TX
    Posts
    296
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got it to work with both IE and NS:
    Code:
    <body onload="window.open('http://www.coolresources.com');window.focus();">
    I can even get it to work with the cookie pop up code used by site point but it only works in IE. It's no good in NS. Does anyone know where I can find a cookie powered pop up code that works in NS?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •