Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Navigation Hyperlink Question

Status
Not open for further replies.

VeronicaCBurgess

Technical User
Apr 25, 2003
27
US
I have a simple navigation of text links down the left side of my page like so:

Home
Parent Club
Fundraisers
Teachers
etc...

If the viewer is on the "Parent Club" page, then the actual link should be highlighted/bolded and the hyperlink disabled, example:

Home
Parent Club
Fundraisers
Teachers
etc...

Is this possible without having to format it manually for each page?

PS: (In case it's relevent)the link style is controlled with CSS. As follows:

=======================
a:link {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
color: #006600;
text-decoration: underline;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
color: #9900FF;
text-decoration: underline;
}
a:hover {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
color: #006600;
text-decoration: none;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
color: #006600;
text-decoration: underline;
}
.text {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
}
.header {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #000066;
}
.pagetitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
text-transform: uppercase;
color: #006600;

Any help would be appreciated as I have searched endlessly for the answer.

Veronica

 
you would have to use javascript or a server side language. i dont know how to do this but hoepfully this pushes you in the right direction

<signature>
sometime you just gotta say &quot;WHAT THE @#*% !!&quot;
</signature>
 
I am not a javascript expert but if you were to use location.href to grab the url of the page the user is on I am sure you could build the menu dependant on that.

Cheech

[Peace][Pipe]
If you don't stand up for something, you'll fall down. Toke it Easy.
Howard Marks.
 
P.S. is YOUR post :) so it is relavant....use your CSS for font.size.weight change )a:visited,hoover,active( is where your solution is.
All the best!

> need more info?
:: don't click HERE ::
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top