473,396 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 4517
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Davide Bruzzone | last post by:
Greetings all... Here's a description of the problem that I'm trying to solve: - I have a Web page from which users can open one or more other windows. - From that web page, the user can then...
14
by: Michael Winter | last post by:
In an attempt to answer another question in this group, I've had to resort to calling the DOM method, Node.removeChild(), using a reference to it (long story...). That is, passing Node.removeChild....
27
by: Jason Heyes | last post by:
To my understanding, std::vector does not use reference counting to avoid the overhead of copying and initialisation. Where can I get a reference counted implementation of std::vector? Thanks.
12
by: marcadonis | last post by:
Hi! Does anybody know of a way that I can keep a reference to an object that I can then reuse? I tried various approaches using navigator, but these all fail in an iframe due to premission...
3
by: Sophos | last post by:
Hi, I have a basic aspx page, in the Page_Init procedure I have a server.execute of another aspx page that adds some html code to my first page. However it also adds a control (an htmlimage),...
7
by: Steve Bugden | last post by:
Hi, I am trying to reference an html page from an aspx file. The intention is that the html file will contain the content for my web site and the aspx will contain the navigation, logo etc. Then...
2
by: Jake Barnes | last post by:
Using javascript closures to create singletons to ensure the survival of a reference to an HTML block when removeChild() may remove the last reference to the block and thus destory the block is...
8
by: Charlie J | last post by:
I have a real stumper. I added a server side table to a home page that has two other server side tables on it that have been working great. In Visual Studio everything works great. When I put...
5
by: aelred | last post by:
I have a web page where a member can open up a chat window (child window) with another member. - From there the member can also navigate to other web pages. - From other pages in the site, they...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.