Page 1 of 1
How do I get NAV LIST UL Active link color on???
Posted: Thu 8. Oct 2009, 17:07
by foolevil
Hi!
I use NAV_LIST_UL to get menu categories.
<div id="homm">
{NAV_LIST_UL:F,0,1,act_path,active}
</div>
This "homm" is described to place menu category somewhere on screen.
#homm {
position:absolute;
left:366px;
top:56px;
width:51px;
height:14px;
font-weight: bold;
}
I css:
a:active {
color: #603813;
text-decoration: underline;
}
Does not give a result as this color when link is active.
How do I get "active" colr change?
Re: How do I get NAV LIST UL Active link color on???
Posted: Thu 8. Oct 2009, 17:24
by flip-flop
a:active { ....
I have writte about in an other posting to you.
That is a simple css problem. Please have a look into the css example in your wiki.
Re: How do I get NAV LIST UL Active link color on???
Posted: Thu 8. Oct 2009, 20:53
by Heiko H.
@foolevil
Please don't get me wrong! You must certainly learn CSS.
a:active is not what you think!
The dynamic pseudo class a:active determines the appearance of activated elements that is of elements which are selected by a mouse pointer. The mouse pointer must select the rectangular area of (the box) which every element takes on a side said more exactly and an element is activated as long as the mouse button is pushed. ...
Translation form
CSS4you
Re: How do I get NAV LIST UL Active link color on???
Posted: Fri 9. Oct 2009, 15:50
by foolevil
flip-flop wrote:a:active { ....
I have writte about in an other posting to you.
That is a simple css problem. Please have a look into the css example in your wiki.
Could you finger some exact word to look... its a bit overwhelming, you see.
Its been all too long since I´ve working a site with wcms, I´ve practically forgotten how
little I know...
Re: How do I get NAV LIST UL Active link color on???
Posted: Fri 9. Oct 2009, 16:36
by flip-flop
That isn´t a cms problem - only css.
->
http://forum.phpwcms.org/viewtopic.php?p=120145#p120145
The same like Heiko H. sayed
The dynamic pseudo class a:active determines the appearance of activated elements that is of elements which are selected by a mouse pointer. The mouse pointer must select the rectangular area of (the box) which every element takes on a side said more exactly and an element is activated as long as the mouse button is pushed. ...
Have a look into the generated source and you will see some autom. generated classes by this navigation.
e.g.
using: <div class=“nlu_navi1”>{NAV_LIST_UL:F,ID,,act_path,
active}</div>
Output:
<li class="sub_no act_path
active"><a href="index.php?category02_01_01">Category02_01_01</a></li>
This class active does not have anything to do with a:active!!!!
Both have coincidentally the same name.
css:
Code: Select all
.nlu_navi1 ul li.active a,
.nlu_navi1 ul li.active a:link,
.nlu_navi1 ul li.active a:visited, .......
-> Please have a look into the css files in your wiki:
NAV_LIST_UL (CSS)
Knut
Re: How do I get NAV LIST UL Active link color on???
Posted: Sun 11. Oct 2009, 14:22
by foolevil
Thank you for your time and patience – which I always seem to lack...
Right, I understood its a CSS thing, this is the same rock I´ve hit my head for many times!
Beginning to see light now.... and quite probably able to create all unique menus
in week or so. Although I´ve made some 10 sites with PHPWCMS Im not very good with php, or mysql, or css – java I know almost at all. I come from graphics side. Ive done ages of printing stuff and this really needs lots of studying and playin around. I´ve done some menus with Flash but I rather keep site all CMS, dynamic menus are sooo nice when client wants to
move, add or take out stuff.