Keeping Navigation Current With PHP

by Jason Pearce

66 Reader Comments

Back to the Article
  1. The navigation bar on the right side of pages in alistapart.com removes a link pointing to the current page. This approach to navigation
    follows the advice of Jakob Nielsen for corporate websites (see http://www.useit.com/alertbox/20031110.html).

    If this concept of navigation menus is the standard, is there a way to use javascript instead of php to solve this dilemma of removing the link to the current page?

     

    Copy & paste the code below to embed this comment.
  2. Hi I am totally new to this but i did tried Corel Draw as a web page (1 page only) but I no idea on how you guys create the e-mail pop-up once a hand-pointer is clicked on a web page (design using Corel Draw).

    Any idea…?

    Copy & paste the code below to embed this comment.
  3. On my previous posting i forget something.

    I forget the css styles.
    If you look on www.info.at you see the thing working.

    The programm only puts the right css-class to the tags and the css does the rest.

    If you look on www.info.at if you click on a section the programm puts in the class and the link gets highlighted.

    Sorry for the forgotten infos.

    Greetings

    Rene

    Copy & paste the code below to embed this comment.
  4. IRT: Dominique PERETTI
    there is really no point in replacing PHP tags with smarty tags. especially in this simple example!

    Copy & paste the code below to embed this comment.
  5. Well this sure looks a useful technique, but I wanted to use an `ordered list` and generate numbers for my list items.

    So I started here, and it fell over in IE6 :

    <style type=“text/css”>
    li.process {
    background-color: #F4F4F4;
    font-size: 12px;
    vertical-align: top;
    width: 33%;
    }
    </style>

    Specifically, setting the width to 33% using CSS causes all those <li class=“process”> items to be numbered as ‘1’. Try it you’ll see the problem !

    Removing the width: 33% and the list numbering returns to sequential for all items. Add it back and the numbering is set to 1 for all li items with that style. Weird.

    <ol>
    <li>Order Receipt</li>
    <li>Create Job Record Card</li>
    <li class=“process”>Raise Datachecking Form</li>
    <li class=“process”>Create Sub Job</li>
    <li>Enter Onto Schedule</li>
    </ol>

    Copy & paste the code below to embed this comment.
  6. Hello. I dont know if Im posting this on the right place but anyway. Im making a page. And I also scripted the news script. Ok all works. When Iuse click on news it show news. But when user click on one news which one would be shown in cell where is include() function but the news is shown in all window not in one cell ? How I shguld do that the only one news would be shoen in the cell of my index page to ? Is there any chance or I must include header, footer left and right blocks in each script ? I hope you understand me :)


    Thanks

    Copy & paste the code below to embed this comment.