Forum Moderators: open

Message Too Old, No Replies

Is it possible to extract the current URL from an Iframe?

         

Teknorat

2:05 am on Jun 24, 2004 (gmt 0)

10+ Year Member



Hi all, if I have an Iframe is there any way to extract the current url within that frame? Ie. - if I wanted to put all the urls I had been to in a database. For the moment I just want to be able to display the current url.

DrDoc

3:59 am on Jun 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If the page inside the iframe is on the same domain as the page with the iframe -- yes.
Otherwise -- no.