![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Color of active link.
I want my text link which is black convert to red when user clicks on that and
remains red while user has not clicked on anthor link, and then by clicking on another link the last link will be black again. Is there anybody who knows about that? I have it like this now: A:link { COLOR: black; TEXT-DECORATION: none; font-weight: normal } A:visited { COLOR: black; TEXT-DECORATION: none; font-weight: normal } A:active { COLOR: red; TEXT-DECORATION: none } A:hover { COLOR: red; TEXT-DECORATION: none; font-weight: none } What should I add? |
|
|||
|
Re: Color of active link.
Are you using frames?
-- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "Dentalv6" <webforumsuser@macromedia.com> wrote in message news:fo27ml$6ik$1@forums.macromedia.com... >I want my text link which is black convert to red when user clicks on that >and > remains red while user has not clicked on anthor link, and then by > clicking on > another link the last link will be black again. Is there anybody who knows > about that? I have it like this now: A:link { COLOR: black; > TEXT-DECORATION: > none; font-weight: normal } A:visited { COLOR: black; TEXT-DECORATION: > none; > font-weight: normal } A:active { COLOR: red; TEXT-DECORATION: none } > A:hover { > COLOR: red; TEXT-DECORATION: none; font-weight: none } What should I > add? > |
|
|||
|
Re: Color of active link.
Let's deal with the frames first. Why are you subjecting yourself and your
visitors to the torture of them? Frames are much better left with the out-of-date teachers.... Anyhow, there is not an easy way to do what you are asking for with plain text links.... -- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "Dentalv6" <webforumsuser@macromedia.com> wrote in message news:fo2gbl$f6n$1@forums.macromedia.com... >I am so sorry, yes! |
|
|||
|
Re: Color of active link.
No, it's not impossible, but it would likely be beyond your reach to
understand what someone might tell you. It would require the use of CSS and javascript. When you click on a link, the javascript would need to change the color of the link until you click on some other link. This is not a native functionality that is provided by either by HTML or CSS. -- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "Dentalv6" <webforumsuser@macromedia.com> wrote in message news:fo2k1v$int$1@forums.macromedia.com... >u know I am not so good in making homepages it is why I used frames. I am >learning working with templates now. > About my link, do u mean that it is impossible? |
|
|||
|
Re: Color of active link.
No - sorry. I don't have the javascript skills to unilaterally code this.
But if you are determined, investigate the use of the DW Behavior - ChangeProperty, to change the style.color of the link.... -- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "Dentalv6" <webforumsuser@macromedia.com> wrote in message news:fo2rht$q1u$1@forums.macromedia.com... > Ok, can u tell me more? |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|