Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 29th, 2006, 03:10 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default targeting external page in another page's IFRAME

How do I do this:
linking an external page into another page's IFRAME

 
Old March 30th, 2006, 03:22 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

I don't understand the question? if you just want to load an external page into an iframe set its SRC attribute to the URL.

However, if you are saying that your site design implements a frameset and from your frame that handles your navigation you want to be able to click a link and call an external page into an iframe on a page inside your content frame, that could get kind of tricky.

I would suggest poking around a javascript forum and see if you can do something like this

document.frames[i].elements[i]

I am dont think the above approach will work, but it gives you an idea about what you have to do (I only know rudementary javascript) Hope this helps.

"The one language all programmers understand is profanity."





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with iframe content when refreshing page klax Javascript 0 April 21st, 2007 04:43 PM
Problems with loading external pics into an IFrame nancy Classic ASP Databases 2 April 26th, 2005 10:33 AM
Change Page in iframe qazi_nomi Javascript How-To 10 February 21st, 2005 07:45 AM
Targeting main window from an iframe Sushifiend3000 Javascript How-To 9 November 26th, 2004 11:55 AM
Accessing page object within an IFRAME drettberg ASP.NET 1.0 and 1.1 Professional 3 September 22nd, 2003 11:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.