View Full Version : Resolved Yet another iFrame question...

11-22-2008, 06:48 PM
Hi, first post here and I've having a problem with a little project of mine. I have been trying to follow the suggestion in this thread (http://www.dynamicdrive.com/forums/showthread.php?t=8567) about getting an webpage to open in an iFrame on another page.

I can't for the life of me get it to work. I'm not even sure it is what I require. So, I'll outline what I have and what I would like and perhaps you could help me understand what I need to do.

The home page of my website (myaddress.com/en/index.html) has an iFrame called 'rcb' which displays pages from the folder "myaddress.com/en/content/".

When a visitor directly loads a page from that folder (for example types into the address bar "myaddress.com/en/content/pageone.html" I'd like for my homepage (myaddress.com/en/index.html) to load showing "myaddress.com/en/content/pageone.html" in the iFrame.

I don't need to re-size the iFrame or anything, just load the originally requested web page in the iFrame of the homepage.

Can you help me? Any help is very much appreciated...

11-22-2008, 06:58 PM
Use the more up to date:


especially post #4 from that thread.

Should work for iframe without any modification. But if you have a problem using it, just let me know.

11-22-2008, 07:07 PM
Perfect, thanks :-)