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).
some basic htlm help wanted
Collapse
X
-
Originally posted by allanuk
Is there a site I can get this script from?
http://hahahahahahahahahaha.com/
http://www.echoecho.com/hahahahahahahahahaha.htm
EDIT: REPLACE THE HAHAHHAS with j a v a s c r i p t
IvyComment
-
Originally posted by TeenGodFather
How about google? I've heard great things about this new and wonderful place you can 'search' information.
IvyComment
-
Hit me up on icq, I'll hook you up for free...Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip ManagerComment
-
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.Comment
-

Comment