473,406 Members | 2,633 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,406 software developers and data experts.

navigational link

which feature of html that enables to keep the navigation link always visible during navigation without writing the code in every page...
Please can anyone answer this question
Thank you..
Aug 7 '14 #1
5 1356
nomad
664 Expert 512MB
I would build a custom Template for this.
Aug 7 '14 #2
Exequiel
288 256MB
in that kind of Situation you can use php, you can include or require the page of your navigation, for example, you have pages HOME, ABOUT US, CONTACT US,
try this idea,
Expand|Select|Wrap|Line Numbers
  1. home page
  2. <?php
  3. include 'pathofyour/header.php';
  4. include 'pathofyour/navigation.php';
  5. include 'pathofyour/homecontent.php';//
  6. include 'pathofyour/footer.php';
  7. ?>
  8.  
Expand|Select|Wrap|Line Numbers
  1. about us page
  2. <?php
  3. include 'pathofyour/header.php';
  4. include 'pathofyour/navigation.php';
  5. include 'pathofyour/aboutuscontent.php';//
  6. include 'pathofyour/footer.php';
  7. ?>
  8.  
Expand|Select|Wrap|Line Numbers
  1. contact us page
  2. <?php
  3. include 'pathofyour/header.php';
  4. include 'pathofyour/navigation.php';
  5. include 'pathofyour/contactuscontent.php';//
  6. include 'pathofyour/footer.php';
  7. ?>
  8.  
  9.  
Expand|Select|Wrap|Line Numbers
  1. header.php
  2. <html>
  3. <head>
  4. <title></title>
  5. </head>
  6. <body>
  7.  
Expand|Select|Wrap|Line Numbers
  1. navigation.php
  2. <ul>
  3. <li><a href="home.php">home</a></li>
  4. <li><a href="aboutus.php">about us</a></li>
  5. <li><a href="contactus.php">contact us</a></li>
  6. </ul>
  7.  
Expand|Select|Wrap|Line Numbers
  1. footer.php
  2. </body>
  3. </html>
  4.  
Expand|Select|Wrap|Line Numbers
  1. homecontent.php
  2. <h2>Home page</h2>
  3.  
Expand|Select|Wrap|Line Numbers
  1. aboutuscontent.php
  2. <h2>About us page</h2>
  3.  
Expand|Select|Wrap|Line Numbers
  1. contactuscontent.php
  2. <h2>Contact us page</h2>
  3.  
Aug 8 '14 #3
THANK you so much...Thnx 4 ur guidance..i will definately try
Aug 11 '14 #4
Some more questions are coming..hehe
Aug 11 '14 #5
Exequiel
288 256MB
please read about php, and how to use include, goodluck. :)
Aug 11 '14 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Ahmad | last post by:
Dear all, I'm not sure if this is the write newsgroup, but ... I've been trying to update the web-site for the local orphanage (www.bedaya.org.my) via FP2002. This whole project started on...
15
by: Mason A. Clark | last post by:
I have a page with many links. Browsers like to underline the links -- result is ugly. Is there any (CSS?) way to prevent underlining? (By the way, I decry the common practice of making...
26
by: Harrie | last post by:
Hi, After Brian mentioned the use for <link rel=..> for navigational purposes in another thread, I've been looking into it and found that HTML 3.2 has two other recognized link types than HTML...
8
by: sudhirlko2001 | last post by:
How to swap two nodes of doubly Linklist
3
by: Alan Silver | last post by:
Hello, I am just looking at the tree view control, which looks very good, but has some apparent limitations. This could easily be my lack of experience with it. Specifically, I have two...
3
by: Mindy | last post by:
Does anyone know the difference between Navigational and Lookup features of combo boxes? I wondered if there were difference between these two if we selecte "remember the value for later use" when...
2
by: dave.dolan | last post by:
I have generated a nice tree view that displays some otherwise cyptic XML in an easy to follow manner. The trouble is that the TreeView assumes that I'm wanting a link in each of the nodes, and I...
3
by: hestres | last post by:
Hello, I'm working on some link styles for this page: http://www.house.gov/velazquez/lh0205tres/reports.html I want all the links to always display in red (#CC0000), but in IE6 and 7 they...
5
by: sush1512 | last post by:
The navigational button (<<) is not working correctly when doing an account search from the Account search page. . Data entered in the account search was 22121% - which returned a screen of...
1
by: FrustratedGrad | last post by:
I am having difficulty knowing what to do to complete my toolbar...I feel I have everything but it is not actually aligning horizontally--inline--with spaces in between each tab. I would like it to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
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,...
0
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...

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.