![]() |
some basic htlm help wanted
Can somone post what htlm code to use to open a new w i n d o w (pop up). When somone shuts down (leaves) a website).
|
Use hahahahahahahahahaha, as html don't bend that way.
|
hahahahahahahahahaha = Javascript
|
Is there a site I can get this script from?
|
Quote:
|
Quote:
http://hahahahahahahahahaha.com/ http://www.echoecho.com/hahahahahahahahahaha.htm :winkwink: EDIT: REPLACE THE HAHAHHAS with j a v a s c r i p t Ivy |
Quote:
Ivy |
Hit me up on icq, I'll hook you up for free...
|
Use the onunload event of the document body to fire your javascript method to open the new window.
For example, In the head tag create a method to open the window, w = window.open("win_url", "win_name", 'width=150,height=100') In your body tag, set the onunload event handler to your method, < body onunload="yourmethod()" > When the user attempts to leave your page, a new window is displayed. You will need to look up all the features available for a new window to set the window to appear the way you want. Hope that helps. |
www.hotscripts.com
there are different popup builders if you are not familiar with code |
All times are GMT -7. The time now is 11:07 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123