Log in

View Full Version : Refresh what url current visitor is seeing


edub9
Apr 1, 2007, 01:29 PM
I need to create a visitor list that will record and refresh what url or content the current visitor is seeing in an Iframe be it either video or website.

Thanks in advance,

Edub9
Untitled Document (http://www.hollywoodfineart.com)

joshlunsford
Jan 11, 2008, 07:20 AM
If you want to record what content is being viewed in an iframe you will have to do it at page generation time with php otherwise you can use javascript to do it at anytime.

<iframe id='myiframe' src='http://www.google.com'></iframe>


then use javascript and document.getElementById('myiframe') to get the src and edit the src.