Hi,
In .NET there is modal popup feature that you can use - i am trying to find something similar in php. Basically i want to set a cookie - if user comes to the site for the first time - this popup appears else it never pops up.
Any working example would really help.
Thanks
similar to modal popup
Moderator: General Moderators
-
mikecampbell
- Forum Commoner
- Posts: 38
- Joined: Tue Oct 12, 2010 7:26 pm
Re: similar to modal popup
You need to use JavaScript in combination with PHP. I'd recommend using a library like jQuery. It includes methods to create a modal dialog box.
http://docs.jquery.com/UI/Dialog
http://docs.jquery.com/UI/Dialog
Re: similar to modal popup
thanks - is there any good example showing how to implement it in php and js or jquery... ???
Re: similar to modal popup
Just google "jquery modal box" and you'll find a bunch of plugins with examples.