|
| |
|
|
Avick
Posts: 179 From: Ireland Status: offline
|
Active Page when linking from Page includes - 9/6/2006 11:00:41
Just a question I have been curious about. When designing with style sheets is it possible to show a page as active if the link is coming from a page include. Example: Link 1 Link2 Link3 I want to change the style on Link2 when the visitor is on that page. As the pages are coming from a page include, I have nothing on the actual page to mark with a tag such as id=active Can this be done using just CSS or is it just out of the question!
_____________________________
Alan http://www.newebirl.net
|
|
|
|
Avick
Posts: 179 From: Ireland Status: offline
|
RE: Active Page when linking from Page includes - 9/7/2006 5:27:11
I now have two different sets of styles for two different types of menus I have been tinkering around with the layout to see if I could make it a bit easer to find what I am looking for when editing the tags. I stacked the tags on top of each other and it worked quite well and it validated.
#home #nav-home,
#portfolio #nav-portfolio,
#services #nav-services,
#standards #nav-standards,
#sitemap #nav-sitemap
{color: #006; border-bottom: 2px solid #006;}
I find this just makes it a little easer to read!
_____________________________
Alan http://www.newebirl.net
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|