View Full Version : iframe url display
11-18-2006, 09:28 PM
1) Script Title: Random iframe content
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/randomiframe.htm
3) Describe problem: I want to display the URL of the page displayed
11-20-2006, 05:03 AM
Here in the script:
Is where it sets the src attribute of the iframe. If you had - say a link or other element that you wanted to have display the url, you could do this:
You would need to define el earlier in the script though - before the code executes and after the browser parses the element. So,you could put a span on the page before the script:
Then at the beginning of the script define it:
11-20-2006, 03:12 PM
John, thanks for the details on how to solve this problem. For the time being I am going to stick to the URL button that opens the viewed page, and see what kind of a response I get. Your new code for backing up within the frame could change that decision. Here is the current layout: http://www.kabubble.com/pingxit_news.htm.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.