At 07:42 AM 1/2/99 -0500, Brent Eades wrote:
>Am deep in the process of redesigning the Bank's Web site, and am 
>wondering how best to do the following:
>
>On each page of the site will be a fairly lengthy text-based navigation 
>column running down the left.  It will be exactly the same on each page, 
>*except* that I want to highlight the currently-selected page/section -- 
>probably by the usual convention of removing the href tag from it so it's 
>not a link:
>
>__Publications__
>       __Working Papers__
>       __Backgrounders__
>          Speeches  << not a link
>       __Journal Articles__
>
>...and so on.
>
>OK.  So I want to use SSI to plug in the HTML for the navigation column 
>when a page is loaded, rather than embed the HTML in every single page; 
>however, this will not allow me to highlight the appropriate entry for the 
>various pages, without a script of some sort that will alter the HTML on 
>the fly.
>
>So what do people think is the best route to go here?  Basically, I want 
>the SSI to execute conditionally: "check the URL of the page that is being 
>loaded; examine the include file that renders the navigation column; when 
>a URL in the include file matches the URL that is being loaded, strip out 
>the <a href> tag from that text."

The way this was done on UltimateTV was to have slightly
different headers for each section.  It was faster in the long
run than making a self modifying header.

Then for each section you include the proper header.


Matt Soffen
==============================================
Boss    - "My boss says we need some eunuch programmers."
Dilbert - "I think he means UNIX and I already know UNIX."
Boss    - "Well, if the company nurse comes by, tell her I said 
             never mind."
                                       - Dilbert -
==============================================
____________________________________________________________________
--------------------------------------------------------------------
 Join The NEW Web Consultants Association FORUMS and CHAT:
   Register Today at: http://just4u.com/forums/
Web Consultants Web Site : http://just4u.com/webconsultants
   Give the Gift of Life This Year...
     Just4U Stop Smoking Support forum - helping smokers for
      over three years-tell a friend: http://just4u.com/forums/
          To get 500 Banner Ads for FREE
    go to http://www.linkbuddies.com/start.go?id=111261
---------------------------------------------------------------------

Reply via email to