Page 1 of 1

similar to modal popup

Posted: Tue Oct 19, 2010 8:08 am
by Anant
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

Re: similar to modal popup

Posted: Tue Oct 19, 2010 2:07 pm
by mikecampbell
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

Re: similar to modal popup

Posted: Wed Oct 20, 2010 4:56 am
by Anant
thanks - is there any good example showing how to implement it in php and js or jquery... ???

Re: similar to modal popup

Posted: Thu Oct 21, 2010 4:08 pm
by jraede
Just google "jquery modal box" and you'll find a bunch of plugins with examples.