NAV_TABLE_COLUMN submenu align

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: NAV_TABLE_COLUMN submenu align

Post by flip-flop »

Code: Select all

#my_NAVI ul li a {
.
.
padding-left:15px;

/* ++ Killing the "white-space" bug in IE7 */
\width: 180px;  /* IE5x Opera <= 5 */
widt\h: 165px;  /* = (Width of Menu Items) - (padding-right + padding-left) */
.
.
}
In addition, I think your classes are in a wrong order:

Better:
  • #my_NAVI

    #my_NAVI ul, #my_NAVI li

    #my_NAVI ul li a

    #my_NAVI ul li.active a,
    #my_NAVI ul li.active a:link,
    #my_NAVI ul li.active a:visited,
    #my_NAVI ul li.active a:active

    #my_NAVI ul li a:hover
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
blanders
Posts: 22
Joined: Mon 4. Aug 2008, 20:31

Re: NAV_TABLE_COLUMN submenu align

Post by blanders »

It's a miracle - it's working!
Last question re this topic - My coal is to use separate image file only for the menu link which is currently in active state.
I got it so far, that it shows different image file for the active link + all the submenu links.
How to get it working so, that ONLY active link has different image not its sub links
"ul li.active" does'nt do the trick for me. It's easy, right?
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: NAV_TABLE_COLUMN submenu align

Post by flip-flop »

First, what that? -> ..... phpwcms_template/inc_css/frontend.css :)

Second: You haven´t fully understand the tag description.

A little hint e.g.: {NAV_LIST_UL:F,0,,act_path,active} -> chapter "The vertical navigation" - NAV_LIST_UL
The left one: <div class="nlu_navi1">{NAV_LIST_UL:F,ID,,act_path,active}</div>
The right one: <div class="nlu_navi1">{NAV_LIST_UL:,ID,,act_path,active}</div>

Image
Knut :D
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
blanders
Posts: 22
Joined: Mon 4. Aug 2008, 20:31

Re: NAV_TABLE_COLUMN submenu align

Post by blanders »

Hmm. something is very wrong?
I don't figure it out, tried all combinations (while feeling like a blind man constructing a bomb).
I guess something is missing from my myNavi.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: NAV_TABLE_COLUMN submenu align

Post by Jensensen »

blanders wrote:...a bomb...
please don't drop it here | don't let it go off! :wink: too many of them already exploded during last weeks | months...
blanders wrote:...I guess something is missing from my myNavi...
But what?
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: NAV_TABLE_COLUMN submenu align

Post by flip-flop »

Please show me your {NAV_LIST_UL: - Tag }
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: NAV_TABLE_COLUMN submenu align

Post by Jensensen »

flip-flop wrote:Please show me your {NAV_LIST_UL: - Tag }
:mrgreen: :lol: :D :wink:


For all newbies: SHOW ME YOUR NAV! :mrgreen:
Take care! This is what you have to answer BEFORE entering this board!


@blanders: if i had IE, i would try to help. but now it's up to flip-flop...
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
blanders
Posts: 22
Joined: Mon 4. Aug 2008, 20:31

Re: NAV_TABLE_COLUMN submenu align

Post by blanders »

And here it goes: NAV_LIST_UL:F,1,act_path,active
I tried different tags though, this seem to work best for me.
Shall I add something into this?
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: NAV_TABLE_COLUMN submenu align

Post by flip-flop »

NAV_LIST_UL:F,1,act_path,active can´t work in a right way.

NAV_LIST_UL:F,1,,act_path,active
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
blanders
Posts: 22
Joined: Mon 4. Aug 2008, 20:31

Re: NAV_TABLE_COLUMN submenu align

Post by blanders »

It is now: NAV_LIST_UL:F,1,,act_path,active
And I use still:
#my_NAVI ul li.act_path a,
#my_NAVI ul li.act_path a:link,
#my_NAVI ul li.act_path a:visited,
#my_NAVI ul li.act_path a:active {
background:transparent url(/www2/img/article/nav_link_1_s.gif) no-repeat 0 0;
padding-left:15px;

But nothing changed..
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: NAV_TABLE_COLUMN submenu align

Post by flip-flop »

Please, please read the tut for this navigation. - NAV_LIST_UL
act_path: Active path in tree (link tracing)
active: Active link, the one and only
#my_NAVI ul li.active a,
#my_NAVI ul li.active a:link,
#my_NAVI ul li.active a:visited,
#my_NAVI ul li.active a:active { ....
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
blanders
Posts: 22
Joined: Mon 4. Aug 2008, 20:31

Re: NAV_TABLE_COLUMN submenu align

Post by blanders »

I use: NAV_LIST_UL:F,1,,act_path,active
And this is:
#my_NAVI ul li.active a,
#my_NAVI ul li.active a:link,
#my_NAVI ul li.active a:visited,
#my_NAVI ul li.active a:active {

I use different image file for active link but still it shows different image file for active link PLUS sublinks.
I'm out of thoughts here..
Post Reply