Jump to content


Photo

Detecting IFrame change


  • Please log in to reply
2 replies to this topic

#1 Abstroose

Abstroose
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 23 July 2006 - 03:42 PM

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.

#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 23 July 2006 - 03:44 PM

I was wondering it it's possible to use PHP to detect when the page being displayed in an iframe changes.

No... php runs on the server and has no idea what an iFrame even is. You'd need to use javascript.

#3 Abstroose

Abstroose
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 23 July 2006 - 03:46 PM

Ok, thanks a lot!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users