marco839 Posted September 29, 2007 Share Posted September 29, 2007 I cant think of a suitable title for this! I have a calendar script which pops up a box with details of the event on a certain date. I want to include a link in this popup box with something along the lines of "click here to contact us / more information". When this link is clicked, I want the pop up window to close, and the original browser window to forward the user to the contact us form. Is this something which can be done in PHP? Link to comment https://forums.phpfreaks.com/topic/71167-change-original-page-cant-describe-it/ Share on other sites More sharing options...
Wuhtzu Posted September 29, 2007 Share Posted September 29, 2007 This seems like a lesson in some javascript and the <a>-tag's target-attribute: http://www.htmlcodetutorial.com/linking/_A_TARGET.html Link to comment https://forums.phpfreaks.com/topic/71167-change-original-page-cant-describe-it/#findComment-357941 Share on other sites More sharing options...
BlueSkyIS Posted September 29, 2007 Share Posted September 29, 2007 agreed. one way or another you want a window to close, and that's javascript. if you're using javascript to close the window, might as well use it to send the ----> parent <---- window to a new location. Link to comment https://forums.phpfreaks.com/topic/71167-change-original-page-cant-describe-it/#findComment-357945 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.