This is a discussion on "a:link, active, hover, visited...." within the Web Page Design section. This forum, and the thread "a:link, active, hover, visited.... are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
a:link, active, hover, visited....
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
||||
|
a:link, active, hover, visited....
Okay, I don't know that it's for this but I think it is. I am wanting to change the color of the word when i'm on that page.. like say i hover over the word forums and it loads the page, I want it to change the color to the hover color and so on. lol.. I hope i explained this good enough.
How do I do that? lol...
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
|
|
||||
|
Re: a:link, active, hover, visited....
I don't get it ... but ... did you look at the CSS Beginner FAQ? There's one on How do I change the color of my links?
|
|
||||
|
Re: a:link, active, hover, visited....
yes i did look there but didn't find anything.
this is what i'm wanting to do WHEN the page is on monthlysignin i want it like this likethis.jpg not liek this: notlikethis.jpg
Last Blog Entry: My blog? (Oct 18th, 2007)
Last edited by karinne; Oct 22nd, 2007 at 18:26. Reason: Please attach big images. |
|
||||
|
Re: a:link, active, hover, visited....
You will need to create a .current class or whatever you want to call it...
|
|
||||
|
Re: a:link, active, hover, visited....
so in my html i'll put class="current"
and my css would be like...
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
||||
|
Re: a:link, active, hover, visited....
when im on that page i want THAT style, lol.
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
||||
|
Re: a:link, active, hover, visited....
Would it not be the active link that you need to add properties for seeing as that link is active
|
|
||||
|
Re: a:link, active, hover, visited....
I tried that AdRock. lol.. I jsut dunno haha.... I tried it but it didn't work
And I need to speak with you as well hehe.. So if you get free IM me please, lol.
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
||||
|
Re: a:link, active, hover, visited....
Actually, i don't know why i suggested that becuase it will only change while you hold the link down
|
|
|||
|
Re: a:link, active, hover, visited....
This is not related to hover, active visited or what ever.
I have done this king of technique in my page not long ago, but I can't host it because, mmm... time consuming. I'll guide you through it tho, Let's make this clear.. In every page that you visited, you want the menu to have a special different king of color, am I right? Your CSS:
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Last edited by Monie; Oct 23rd, 2007 at 08:45. Reason: recorrect my links |
|
||||
|
Re: a:link, active, hover, visited....
hmm nice. I owe u big time, lol..
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
|||
|
Re: a:link, active, hover, visited....
Marc "saw" it first, lol.
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
||||
|
Re: a:link, active, hover, visited....
Hmm, I'm now back to working on this problem, lol..
my CSS is
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
|||
|
Re: a:link, active, hover, visited....
yes, you have to go into every page and write the selcted class on the link you want selected.
Last Blog Entry: Website critique (Apr 16th, 2008)
|
|
|||
|
Re: a:link, active, hover, visited....
motormaniac is right, on every page the .selected class needs to be applied to the corresponding link. But, as I was looking through your html, I noticed that you have only one page - index.php, and the content is determined by ?page=NameOfPage. This means that the .selected class won't work! You need a separate page for each link to make all of this work... Am I making sense? Point is, the way you have it set up will fail.
Cheers, SWagner
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
||||
|
Re: a:link, active, hover, visited....
No possible way to do it the way mine is set up?
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
||||
|
Re: a:link, active, hover, visited....
You could do it with PHP...
On the index.php?page=aboutUs you would have this:
|
|
||||
|
Re: a:link, active, hover, visited....
mmk, I kind of see how it's going with the php, but one thing... How wouddl i get it to show that it's on the current page? Like that above would just be getting it to work. No style or anything is applied to it. That's the only thing I'm not understanding how i would do it. (If need be i can explain more,(try to anyhow).
Last Blog Entry: My blog? (Oct 18th, 2007)
|
![]() |
| Thread Tools | |
|