Abstroose Posted July 23, 2006 Share Posted July 23, 2006 Hi, I need a little help.I was wondering it it's possible to use PHP to detect when the page being displayed in an iframe changes.For example, an iframe is displaying a webpage. The user clicks a link (_self) on the webpage, causing it to open a different page in the iframe. I am in need of a script that will call a function (IE. Goto a new page) when this happens.Any help would be greatly appreciated. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/15396-detecting-iframe-change/ Share on other sites More sharing options...
trq Posted July 23, 2006 Share Posted July 23, 2006 [quote]I was wondering it it's possible to use PHP to detect when the page being displayed in an iframe changes.[/quote]No... php runs on the server and has no idea what an iFrame even is. You'd need to use javascript. Quote Link to comment https://forums.phpfreaks.com/topic/15396-detecting-iframe-change/#findComment-62407 Share on other sites More sharing options...
Abstroose Posted July 23, 2006 Author Share Posted July 23, 2006 Ok, thanks a lot! Quote Link to comment https://forums.phpfreaks.com/topic/15396-detecting-iframe-change/#findComment-62409 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.