Click to See Complete Forum and Search --> : Idea
Hi,
I have a bar on my web site. (it’s a intranet web site so you won’t be able to see it). It is plain text across and I am using SSI to import the links to all of my pages. However, If I am on page B, I can still click on web page B link at the top. Is there a way to write a CGI script is if the value of the page=B it makes it Bold and not clickable?
Would I use CGI for this?
Nick
...not sure as to what you are referring...can you be more specific...?
Ok. I will just do this.....
All links on this page work and are links. However. If I got to say. Link 3, I will no longer be able to click on that link becasue I am at that page.
I was thinking something like a IF then statment. WOuld this be CGI or java.
(I am currently Viewing page three, all other links but 3 can be clicked and navigated to)
Link1 : Link2 : Link3 : Link4 :
ok, what is the "content" of your nav bar includes ?
This is my nav Bar
****************************************
<a class="top" href="http://boe3/curriculum.shtml">Curriculum</a> :: <a class="top" href="http://boe3/technology.shtml">Technology</a>
:: <a class="top" href="http://boe3/sasi.shtml">SASI</a>
bump. Someone please help.
neby...sorry I had network probs...
anyway put this at the top of all pages using the nav includes
<!--#set var="thispage" value="${DOCUMENT_NAME}" -->
then change your nav bar file to this
<!--#if expr="$thispage = /curriculum/" --><b>Curriculum</b>
<!--#else --><a class="top" href="curriculum.shtml">Curriculum</a><!--#endif -->
<!--#if expr="$thispage = /technology/" --><b>Technology</b>
<!--#else --><a class="top" href="technology.shtml">Technology</a><!--#endif -->
<!--#if expr="$thispage = /sasi/" --><b>SASI</b>
<!--#else --><a class="top" href="sasi.shtml">SASI</a><!--#endif -->
and that should do it...
That is not working. I put that one line of code at the top, but I am not sure where at the top it needs to be put.
Also do I need the <script> commands around the codeing?
What I currently see on my site is a Bolded name (space) the linked name.
...I've put up an example using your info
...is this what you want...?
http://cycocity.com/curriculum.shtml
Yes. That is correct. Provided the CSS color commands.
Where do I put that single line at??
this goes at the top...
<!--#set var="thispage" value="${DOCUMENT_NAME}" -->
<html>
<head>
...
...
...
<body><!--#include file="nav_bar.shtml" -->
...
...