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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pop up window only once per user?

Status
Not open for further replies.

kawnz

Technical User
Jan 30, 2003
67
US
Hi there,

The people I am doing a site for, want to have a popup window on loading of the home page, but they don't want it to do that every time.

They are thinking either just once, or maybe once a month per user.

How would I do that?
 
Hi mate,

When the page with the pop-up code on it loads, set a cookie to the user machine.

Just check for that cookie and if it exists, don't launch the pop-up.

Hope this helps Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top