472,141 Members | 1,003 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,141 software developers and data experts.

how to reference an html page from another html page

I am new to html programming. I have created a web with 17 different pages.
On each page is a button menu which allow the user to switch to another page
without returning to the home page . The button menu is 40 lines long.
What I would like to do is make a new file "ButtonSub.html " which the
button menu code. I would then remove all of the button codes from each
form . Instead , I would insert a statement that would call ButtonSub.html
to create the button menu on each html.page

Clear as mud???.
Mar 7 '08 #1
9 4432
Chuck [Sbc) wrote:
Ed
I tried but I don't understand what I am to put in ("/styles/menu.txt") My
menu is contained in "ButtonSub.html"
Then Google is your friend:

http://www.google.com/search?hl=en&q...=Google+Search
php includes tutorial - Google Search

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Mar 7 '08 #2
Chuck [Sbc) wrote:
I tried but I don't understand what I am to put in ("/styles/menu.txt") My
menu is contained in "ButtonSub.html"
<div id="doc_header">
<!-- start menu HTML import-->
<?php include("./path/to/ButtonSub.html"); ?>
<!-- END menu HTML import-->
</div>

A URL for your site would help with any further answers.

Please don't top-post.

--
-bts
-Friends don't let friends drive Vista
Mar 7 '08 #3
Jonathan
Thanks - your suggested site was perfect. I made changes to all my pages
(17) and the master menu file in just over 3 hours.
I reduced my file storage by 65%.
Thanks Again
Chuck
"Jonathan N. Little" <lw*****@central.netwrote in message
news:61**************************@NAXS.COM...
Chuck [Sbc) wrote:
>Ed
I tried but I don't understand what I am to put in ("/styles/menu.txt")
My menu is contained in "ButtonSub.html"

Then Google is your friend:

http://www.google.com/search?hl=en&q...=Google+Search
php includes tutorial - Google Search

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Mar 9 '08 #4
I don't know "Please don't top-post"
Elucidate
..

"Beauregard T. Shagnasty" <a.*********@example.invalidwrote in message
news:ft*********************@bgtnsc05-news.ops.worldnet.att.net...
Chuck [Sbc) wrote:
>I tried but I don't understand what I am to put in ("/styles/menu.txt")
My
menu is contained in "ButtonSub.html"

<div id="doc_header">
<!-- start menu HTML import-->
<?php include("./path/to/ButtonSub.html"); ?>
<!-- END menu HTML import-->
</div>

A URL for your site would help with any further answers.

Please don't top-post.

--
-bts
-Friends don't let friends drive Vista

Mar 9 '08 #5
Chuck [Sbc) wrote:
I don't know "Please don't top-post"
Don't POST on TOP of what you're responding to.
--
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net

Mar 9 '08 #6
I'm new to this Group stuff...
I have no idea what the heck you are talking about.
what does Don't POST on TOP of what you're responding to. < mean???
>

"Blinky the Shark" <no*****@box.invalidwrote in message
news:pa****************************@thurston.blink ynet.net...
Chuck [Sbc) wrote:
>I don't know "Please don't top-post"

Don't POST on TOP of what you're responding to.
--
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net

Mar 9 '08 #7
Chuck [Sbc) wrote:
I'm new to this Group stuff...
I have no idea what the heck you are talking about.
what does Don't POST on TOP of what you're responding to. < mean???
It means STOP REPLYING AT THE TOP OF THE POST. You know what "top" means,
right? You know what "post" means, right? If so, put them together and
use your head just a *little*. If not, look them up.
--
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net

Mar 9 '08 #8
rf

"Chuck [Sbc)" <Cf*****@sbcglobal.netwrote in message
news:ED******************@newssvr13.news.prodigy.n et...
I'm new to this Group stuff...
I have no idea what the heck you are talking about.
what does Don't POST on TOP of what you're responding to. < mean???
Forgotten how to use google?

http://www.google.com.au/search?q=top+posting

The first hit defines it, the rest complain about it.

--
Richard.
Mar 9 '08 #9
rf wrote:
>
"Chuck [Sbc)" <Cf*****@sbcglobal.netwrote in message
news:ED******************@newssvr13.news.prodigy.n et...
>I'm new to this Group stuff...
I have no idea what the heck you are talking about.
what does Don't POST on TOP of what you're responding to. < mean???

Forgotten how to use google?

http://www.google.com.au/search?q=top+posting

The first hit defines it, the rest complain about it.
And there's this: http://blinkynet.net/comp/toppost.html
--
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net

Mar 9 '08 #10

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by marcadonis | last post: by
3 posts views Thread by Sophos | last post: by
7 posts views Thread by Steve Bugden | last post: by
8 posts views Thread by Charlie J | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.