473,890 Members | 1,333 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4543
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*****@centra l.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.*********@ex ample.invalidwr ote in message
news:ft******** *************@b gtnsc05-news.ops.worldn et.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.in validwrote in message
news:pa******** *************** *****@thurston. blinkynet.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*****@sbcglo bal.netwrote in message
news:ED******** **********@news svr13.news.prod igy.net...
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*****@sbcglo bal.netwrote in message
news:ED******** **********@news svr13.news.prod igy.net...
>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
18160
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 select another part of the application thereby loading a different page into the original browser window (from which one or more "child" windows may have been opened). - When the user logs out of the application, regardless of whether
14
9615
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. In Opera (7.23/Win), the call appears to do nothing - the node remains - but no errors are shown. In Netscape (7.0/Win), an exception results. On IE (6.0/Win), the node is removed. Strangly, if I pass another function reference, say...
27
6025
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
5420
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 problems. For e.g.: navigator.stuff = 5;
3
1758
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), now my question is how to I get access to that control from the class in my first page? Whenever I try to access it I get a "object reference not set to an instance..." error. Thank you,
7
1907
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 I am hoping I can maintain the html files separately via Frontpage. I have tried a server include i.e. <!-- #Include File="c:\somedirectory\somefilename.htm" -->
2
3068
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 what I'm hoping to achieve. I've never before had to use Javascript closures, but now I do, so I'm making an effort to understand them. I've been giving this essay a re-read: http://jibbering.com/faq/faq_notes/closures.html
8
1996
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 the page on the production server, the first time in the page works great. If I navigate to any other page on the site and then try to return to the home page the control I added throws the following: Server Error in '/' Application....
5
10317
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 may also open up new chat windows with other members (just not the same one). - Each chat page is opened with the member name as the window name. - When I log off from the web page, I would like all the chat windows to automatically close. I...
0
9978
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11222
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10918
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10460
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9625
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8015
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7169
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5845
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4674
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.