jwwceo Posted March 19, 2007 Share Posted March 19, 2007 OK. So I have a pop up quote feature on my home page. It is opened with Javascript. What I want to do is embed a link in an email that will take a person to my homepage but will automatically open the pop up for them. I am thinking I can just use a header function to redirect them to my homepage, but how can I get the pop up to open automatically after they get there? Any tips would be awesome. James Link to comment https://forums.phpfreaks.com/topic/43398-can-this-be-done-with-php-redirect-and-open-pop-up/ Share on other sites More sharing options...
suzzane2020 Posted March 19, 2007 Share Posted March 19, 2007 hmm.....how bout calling the javascript function on the onLoad event of the home page? Link to comment https://forums.phpfreaks.com/topic/43398-can-this-be-done-with-php-redirect-and-open-pop-up/#findComment-210787 Share on other sites More sharing options...
jst4fun Posted March 19, 2007 Share Posted March 19, 2007 Pop-ups are something to be done from the client side. So i don't think you can do it using PHP as it is a server side scripting language. So your best bet is to use javascript on loading the redirect page. Link to comment https://forums.phpfreaks.com/topic/43398-can-this-be-done-with-php-redirect-and-open-pop-up/#findComment-210788 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.