MaGiCSuN
February 3rd, 2009, 17:22
Hi,
I'm looking for a way to achieve the a:focus effect on a link, but more advanced than that.
For example, I want a link to stay colored in a certain color, even when I visit it's sublinks. I want users to see where they are on the page.
a:focus makes that happen, but only when the focus stays on that link offcourse. When click somewhere within the page the link returns to normal state, because it has lost it's focus.
Is there any script etc, where you can tell the script to make the link "contact" green for example when visiting "contactform" "route" and "contact information".
I must note that the sublinks are inside a div (referring to my other thread, DIV onclick).
Thanks !
Love,
Mirna
I'm looking for a way to achieve the a:focus effect on a link, but more advanced than that.
For example, I want a link to stay colored in a certain color, even when I visit it's sublinks. I want users to see where they are on the page.
a:focus makes that happen, but only when the focus stays on that link offcourse. When click somewhere within the page the link returns to normal state, because it has lost it's focus.
Is there any script etc, where you can tell the script to make the link "contact" green for example when visiting "contactform" "route" and "contact information".
I must note that the sublinks are inside a div (referring to my other thread, DIV onclick).
Thanks !
Love,
Mirna