Hi
I am needing to have a pop up window open when a specific URL is clicked. I use Word Press so the navigation and post links are all generated automatically so I can’t just use the onClick syntax in HTML following the a href= text.
So I am hoping PHP can handle this. Scan the page content and if the URL = the URL that requires the pop up, the script would generate the popup window.
I’ve been playing with code similar to the following but know I have something not quite right.
<?php if($URL=='http://streamdb2web.securenetsystems.net/v4/index.cfm?stationCallSign=CJOC') window.open ('http://streamdb2web.securenetsystems.net/v4/index.cfm?stationCallSign=CJOC', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=1,resizable=0,width=1024,height=800');"); } ?>Appreciate any help in advance.
Paul