|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have an html form like this:
<html> <head> <title>whatever</title> </head> <body> INFO HERE. (here i want it to auto-load a part or a page like "bottom.html") </body> </html> and when the user views source they only see 1 complete html but 2 are loaded into the same window. how would i do this? I know i could use frames but i wanna have some html code that wherever i put that code it loads in that place. How would I do this in: 1)html 2)php 3)perl or cgi Thanks ahead of time!! -Ken |
|
#2
|
|||
|
|||
|
hmmm... can't answer exactly. but you can do it with server side includes as well i'm pretty sure. and coldfusion, but i'm assuming money is an issue here. otherwise, the cf tag goes like this:
<cfinclude template="yourpage.html"> but i'm sure php can do the same. -b |
|
#3
|
|||
|
|||
|
Well, there are three ways I know of to do this.
One is frames, obviously. Two is to use iframes tags and use src, style, width and height attributes to adjust the contents, position and size of the section, much like the example below: <iframe src="menu.htm" width="350" height="400"></iframe> Three is php. You can use the following link: Webmonkey Navigation Basically it explains how to make a navigation system for the entire website just by replacing the contents that needs to be changed. These contents are just fragments of html and php will put all those fragments together. ------------------ Yanik! Edmonton, AB |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > HTML Insertions @LOOK@ |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|