Jump to content

Archived

This topic is now archived and is closed to further replies.

Abstroose

Detecting IFrame change

Recommended Posts

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.

Share this post


Link to post
Share on other sites
[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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.