PDA

View Full Version : Producing A Modal From A URL



NOJ75
10-04-2009, 11:21 AM
Hi all,

I wonder if someone can help me.

I want to display a jquery popup modal if certain crieria is met via GET from the URL.

For example, url = index.php?action=welldone

If some one visits index.php nothing happens but if someone visits the url with the action I want the modal/popup to come up once the page is loaded so that I can display congratulations ect.

Can anyone tell me how to achieve this.

Many thanks.

Master_script_maker
10-04-2009, 02:42 PM
Well, if the congratulations is something secret, it would be better to do this with php or another server side language. If it must be in javascript you should check out this (http://www.dynamicdrive.com/forums/showthread.php?t=11883) thread.