navigational link

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhishekphukan
    New Member
    • Jul 2014
    • 34

    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..
  • nomad
    Recognized Expert Contributor
    • Mar 2007
    • 664

    #2
    I would build a custom Template for this.

    Comment

    • Exequiel
      Contributor
      • Jul 2012
      • 288

      #3
      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,
      Code:
      [B]home page[/B]
      <?php
      include 'pathofyour/header.php';
      include 'pathofyour/navigation.php';
      include 'pathofyour/homecontent.php';//
      include 'pathofyour/footer.php';
      ?>
      Code:
      [B]about us page[/B]
      <?php
      include 'pathofyour/header.php';
      include 'pathofyour/navigation.php';
      include 'pathofyour/aboutuscontent.php';//
      include 'pathofyour/footer.php';
      ?>
      Code:
      [B]contact us page[/B]
      <?php
      include 'pathofyour/header.php';
      include 'pathofyour/navigation.php';
      include 'pathofyour/contactuscontent.php';//
      include 'pathofyour/footer.php';
      ?>
      Code:
      [B]header.php[/B]
      <html>
      <head>
      <title></title>
      </head>
      <body>
      Code:
      [B]navigation.php[/B]
      <ul>
      <li><a href="home.php">home</a></li>
      <li><a href="aboutus.php">about us</a></li>
      <li><a href="contactus.php">contact us</a></li>
      </ul>
      Code:
      [B]footer.php[/B]
      </body>
      </html>
      Code:
      [B]homecontent.php[/B]
      <h2>Home page</h2>
      Code:
      [B]aboutuscontent.php[/B]
      <h2>About us page</h2>
      Code:
      [B]contactuscontent.php[/B]
      <h2>Contact us page</h2>

      Comment

      • abhishekphukan
        New Member
        • Jul 2014
        • 34

        #4
        THANK you so much...Thnx 4 ur guidance..i will definately try

        Comment

        • abhishekphukan
          New Member
          • Jul 2014
          • 34

          #5
          Some more questions are coming..hehe

          Comment

          • Exequiel
            Contributor
            • Jul 2012
            • 288

            #6
            please read about php, and how to use include, goodluck. :)

            Comment

            Working...