javascript popups
javascript popups
Out of context: Reply #21
- Started
- Last post
- 23 Responses
- fuzzygroove0
OK, before people get technical on my ass -
We're talking JS here, not PHP, JSP, or ASP.
Sessions don't exist in JS, only cooooooooookies. If you create a cookie, it lasts for x. x is a variable for an amount of milliseconds -
You want a popup to come up everytime someone hits the homepage or everytime someone visits within x?
if the latter, make the thing popup only on the homepage, if the latter, make the thing pop up only after the cookie is expired. if you don't know how to make the cookie expire, USE GOOGLE, IT'S GREAT!