SunQuest
           HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 14th, 2000, 10:45 PM
master ken master ken is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Location: MO, US
Posts: 119 master ken User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via AIM to master ken Send a message via Yahoo to master ken
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

Reply With Quote
  #2  
Old August 15th, 2000, 11:58 AM
badhaiku badhaiku is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 6 badhaiku User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #3  
Old August 15th, 2000, 05:57 PM
yduvoid yduvoid is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 51 yduvoid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > HTML Insertions @LOOK@


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway