By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,723 Members | 1,662 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,723 IT Pros & Developers. It's quick & easy.

how to reference an html page from another html page

P: n/a
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
Share this Question
Share on Google+
9 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.