SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: Pop Up Window
-
Sep 21, 2002, 09:02 #1
- Join Date
- Sep 2002
- Location
- digital world
- Posts
- 23
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Pop Up Window
Anyone know a code, that makes a window pop up when a page is accessed?
-Courtesy of Kaze
-
Sep 21, 2002, 09:38 #2
- Join Date
- Mar 2001
- Location
- Kent, United Kingdom
- Posts
- 5,275
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Here's a simple one.
Insert this inbetween the HEAD tags of your page:
Code:<script> function winopen(){ window.open("your_popup_page.html", "WINDOW NAME", "toolbar=yes,location=yes,directories=no,status=no, menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=200,height=260") } </script>
Code:<body onLoad="winopen()">
Saz: Naturally Blonde, Naturally Dizzy!
No longer Editor of the Community Crier.
Don't mind me, I'm having a BLONDE moment!
-
Sep 21, 2002, 10:47 #3
- Join Date
- Sep 2002
- Location
- digital world
- Posts
- 23
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks Saz, and by the way, your site is very nice.
-Courtesy of Kaze
-
Sep 24, 2002, 17:17 #4
- Join Date
- Sep 2002
- Posts
- 12
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Plug in
If by any chance you are designing in Dreamweaver, there's a cool plug-in for this. Go the to Macromedia downloads area and get the "Advanced Open Windows" plug-in.
Bookmarks