Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embedded Frame

Status
Not open for further replies.

Kib

Programmer
May 17, 2001
58
US
Hi, is there a way to put a frame-like object into an html file
but not have it reference another html file, but have it so the text/images/whatever is all located in the same html file, so you dont have a bunch of html files?
Not sure if its possible, just curious
thanks.
 
I'm not sure if I understand what you want to do, but you can use javascript to generate content for both iframes and regular frames.

If this is your intent, post your question in the javascript forum.

You can also create cgi or PHP scripts to generate your page depending on how it's called... but search engines don't really like this.
example-- you could call it like so:
Code:
[URL unfurl="true"]http://yourdomain.com/cgi-bin/showpage?page=home[/URL]

The script would have to parse the "page=home" from the URL and do some tests on it
Code:
if ($page eq "home"){generate home page}...

If you interested in the second option, let me know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top