current page style...? |
current page style...? |
Jul 20 2009, 09:37 AM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 5,880 Joined: Nov 2007 Member No: 593,382 |
I have seen on some sites, when you click on a nav link when you go the page, that link stays, highlighted or something signifying that you are still on that page. How do you do that? I thought you just used "a:active"? But im trying it out and it isnt working.
|
|
|
|
![]() |
Jul 20 2009, 11:52 AM
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 5,880 Joined: Nov 2007 Member No: 593,382 |
No mean like I have seen pages that the nav links are tabs and whichever page you are on the tab is raised. So you clock the contact link and then it knows you are on the contact page and gives a style to that link.
|
|
|
|
jcp current page style...? Jul 20 2009, 09:37 AM
schizo They probably have a slightly different stylesheet... Jul 20 2009, 11:54 AM
Mikeplyts You could also just try making a custom class/id f... Jul 20 2009, 11:55 AM
Mikeplyts ^basically what I just said. Jul 20 2009, 12:04 PM
Mikeplyts Oh, haha. Jul 20 2009, 01:01 PM
tcunningham if you are using a list for links, try #(ID) a:act... Jul 20 2009, 01:12 PM
jcp Is that how cb does it? I was just hoping there wa... Jul 20 2009, 08:51 PM
fixtatik You could use if statements and use CSS to style t... Jul 20 2009, 10:14 PM
theerinkal I got told about this website. I think it's pr... Jul 20 2009, 10:23 PM
HeartOfPandora You can do it with a teeny bit of PHP and some CSS... Jul 20 2009, 10:53 PM
mipadi In most cases, it's probably just a simple bit... Jul 21 2009, 01:41 PM![]() ![]() |