Page 1 of 1

Free-form menu with [INT] links, no active color???

Posted: Wed 7. Oct 2009, 19:17
by foolevil
This is in wrong forum... should be in troubleshooting for newbies...

I stuck in a funny situation. Im trying to have a free-form menu and I found
[INT] internal link which I use inside a divs which I can place around:

<div id="baker">
[INT http://www.myinternaladdress.... etc]Link name[/INT]
</div>


Now... here I´m stuck. I want people see change in color with a: active
which I have in css data:

a:active {color:#0000FF} /* selected link */

I get mouseover color with no problem but no way to get "selected" color.

What it is?

Re: Free-form menu with [INT] links, no active color???

Posted: Thu 8. Oct 2009, 13:57
by flip-flop
It can´t run in this way.

Please read a little bit about the pseudo class active
A:active
Defines the style for active links.
A link becomes active once you click on it.
(An element is activated so long the mouse button is pressed).
If you need a real active state, you must use a navigation.
(NAV_LIST_UL with IDs)?

Or read this: How To Build Custom Menu

Or write/search for a suitable js snippet.

Knut

Re: Free-form menu with [INT] links, no active color???

Posted: Thu 8. Oct 2009, 15:16
by foolevil
Thanks.

I already found I need to use {NAV_LIST_UL}.

I use PHPWCMS too little.
Right now I have great difficulty finding out how to get rid of these • list dots...

Re: Free-form menu with [INT] links, no active color???

Posted: Thu 8. Oct 2009, 15:30
by flip-flop

Code: Select all

.my_class_name ul {
   list-style-type: none;
}
It is simple css for unordered lists.

Knut