[thelist] CSS Limits?
rudy
r937 at interlog.com
Thu Aug 30 11:58:15 CDT 2001
> You will all have seen those buttons that
> when you click onto a page, the button
> relating to that page is highlighted.
or grayed out or inactivated, e.g. a nav bar link is
not actually a link when it would send you to the
same page the link is on (if you know what i mean)
> But I can't use Javascript for various reasons.
XSSI extended server side includes, using logic
like "if this is this page, show text, else a link"
example:
<!--#if expr="$thisis = /home/" -->Home
<!--#else --><a href="home.html">Home</a><!--#endif -->
<!--#if expr="$thisis = /products/" -->Products
<!--#else --><a href="products.html">Products</a><!--#endif -->
<!--#if expr="$thisis = /faq/" -->FAQ
<!--#else --><a href="faq.html">FAQ</a><!--#endif -->
<!--#if expr="$thisis = /contact/" -->Contact
<!--#else --><a href="contact.html">Contact</a><!--#endif -->
for the above to work, you need to set a variable at the top of each page,
but it's always the same line, so it can also go in an inlcude file --
<!--#set var="thisis" value="${DOCUMENT_NAME}" -->
rudy
http://rudy.ca/
More information about the thelist
mailing list