Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pop up on page load

Status
Not open for further replies.

fishin4snook

IS-IT--Management
Sep 20, 2000
83
US
How do I get a banner, ad, etc... to pop up upon page load?

Thank you,
Fishin4snook.
discountvacations@yahoo.com [sig][/sig]
 
add an onLoad handler in the body tag with something like:
<body onLoad=&quot;self.open('URL of page or ad to load','nameof new window',parameters)&quot;>

I have indicated that all args must be entered as strings.
parameters must be in attribute=value pairs, and the whole lot enclosed in quotes like: 'height=200,width=400'

there are many other options which will appear in ant JavaScript book, hope this helps, let me know if you can't find them!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top