
June 29th, 2004, 12:51 PM
|
|
|
|
Join Date: Apr 2007
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Cant call the querystring in jscript...?
I am trying to retreive a variable passed through the URL in a Jscript pop up window. Basically trying to do a PHP _GET in jscipt. I cant seem to be able to do it though. I am using iframes on a site but i want to provide an option for the iframe to popup as a popup window incase the user cannot see the iframe (cos they are on a Mac etc..) So i have my HTML like this
if you cant see the above images please <a href="art_if.php?noiframe=1" target="popup" ONCLICK="window.open('art_if.php','popup','width=355,height =400,scrollbars=yes'); return false" style="text-decoration:underline">click here</a>
i want to pass the variable noiframe=1 so that i can detect, in the iframe, that it is the popup and then change the CSS of the page so it displays well. any ideas?
cheers
|