You are here: HTML page loads external frame « HTML « IT news, forums, messages
HTML page loads external frame

Posted by Silver on 06/20/06 07:51

I have a main page that includes one menu and one iFrame.
Depending on the selections made on a menu, a different html page is
loaded inside the iFrame. The menu is just a list of <a href=...>

i.e. The user presses the "first" key on the menu, then the first page
is loaded inside the frame.

Find here a sample for the pages I use.

index.html
==========================================
<html>
<body>
<!-- menu here -->
<iframe src="first.htm"></iframe>
</body>
</html>
==========================================

first.html
==========================================
<p>
Hello world
</p>
==========================================

Here is my question. I want that when someone types in the browser
addressbar the address www.mysite.com/first.html, then instead of
loading just the "first.htm" l file, I want to see the entire
"index.html" page and the "first.html" file loaded inside the iFrame.
Is it possible? How can I do in order to do it?
Thank you much in advance.

Mario Jannelli
www.silverino.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация