Page 7 of 10

Posted: Thu 13. Dec 2007, 08:40
by flip-flop
We are talking about {NAV_LIST_UL:.....} - vertical output :?:

Posted: Thu 13. Dec 2007, 08:51
by update
Knut :oops: :oops: :oops:
Sorry man - yesterday had been really upsetting for me and I've been posting into the wrong topic (should have some new glasses I think)
I of course meant the {NAV_HORIZ_DD:ID} :oops: :oops:
Perhaps this can be pulled over into the right thread? Sorry again - but the question remains :wink:

Strange Behaviour

Posted: Wed 20. Feb 2008, 14:34
by daniel.grant
Using {NAV_LIST_UL:} in http://bridgeinsurance.com/index.php

Go to http://bridgeinsurance.com/index.php?id=2 and you see that the menu item doesn't expand. Cannot find a reason for this.

Re: NAV_LIST_UL >= V1.30

Posted: Wed 20. Feb 2008, 15:54
by flip-flop
Please have a look into the category Commercial. Is there any hidden category under these category?
Do you use a separate template for this category?

Knut

Re: NAV_LIST_UL >= V1.30

Posted: Wed 20. Feb 2008, 18:23
by daniel.grant
no hidden categories etc.

I just made a new category and it works now - odd.

Re: NAV_LIST_UL >= V1.30

Posted: Wed 20. Feb 2008, 20:35
by Jensensen
right now your top nav [which was already great! but now] smashes up:

check CSS
#doc4{width:74.923em;*width:73.117em;}
there ARE lots of --> *

to use comments in CSS better use: /* my comment */

Re: NAV_LIST_UL >= V1.30

Posted: Thu 21. Feb 2008, 11:15
by daniel.grant
Jensensen wrote:smashes up
CSS file got deleted - fine now!


Jensensen wrote:there ARE lots of --> *
This is part of yahoo's user interface CSS framework. They use a lot of hacks for cross-browser compatibility - in this case an IE hack for correct page width. Hardly a framework for CSS purists. Anyway, going off topic there...

Re: NAV_LIST_UL >= V1.30

Posted: Thu 21. Feb 2008, 15:58
by daniel.grant
What is the solution for creating a navigation menu

Home | Item 1 | Item 2 | Item 3

?


Seems like a simple enough problem but no solution is obvious to me.

Re: NAV_LIST_UL >= V1.30

Posted: Thu 21. Feb 2008, 16:33
by daniel.grant
Actually I can think of a solution.

.hcss_footer ul li {border-left: 1px;}
#li_nav_1 {border:0;} /* First menu item */

As the id of the first menu item stays the same that works fine.

Re: NAV_LIST_UL >= V1.30

Posted: Thu 21. Feb 2008, 16:42
by flip-flop
Or you get this: {NAV_ROW:INT:0 or 1} -> http://www.phpwcms-docu.de/navigation_tags.phtml

Re: NAV_LIST_UL >= V1.30

Posted: Thu 21. Feb 2008, 16:57
by daniel.grant
Ah nice, a bit of old school phpwcms. yes that is much simpler.

Thanks Knut.

Re: NAV_LIST_UL >= V1.30

Posted: Mon 10. Mar 2008, 19:14
by dinnocon
Can anyone please instruct me on how I can use this menu to only display 2 items? The main menu of my site is horizontal and has 6 items. The two I want to appear in the vertical menu I have tagged as hidden. The whole menu appears though, see image (bottom right). The code I have used is -
<div class="nlu_list_level">{NAV_LIST_UL:F,17,1,,active} </div>

The categories I want to appear are - Quote Request [ID:7] and Contact Us [ID:8]
I am a total newbie to this, can someone please help?

Image

Re: NAV_LIST_UL >= V1.30

Posted: Tue 11. Mar 2008, 08:22
by flip-flop
Hi,

{NAV_LIST_UL:F,17,1,,active}

ID=17 is the right category-ID for your navigation in the right???

Please have a look into - NAV_LIST_UL -basics
@string $parameter =
"menu_type, start_id, max_level, class_path, class_active, ul_id_name, wrap_ul_div(0 = off, 1 = <div>, 2 = <div id="">), wrap_link_text(<em>|</em>)"

E.g.: {NAV_LIST_UL:F, 19, 10, NLU_CSS, NLU_ACT, NLU_ID, 2, <em>|</em>}
and - NAV_LIST_UL

In mind layout07_2.txt:

Code: Select all

Comment: Top Navigation 
...................................................................
The upper navigation is a splited variant. The categories are discarded in an 
hidden section. 
E.g.: <div class="nlu_list_level">{NAV_LIST_UL:F,17,1,,active}</div>
- home
--- categ.01
--- categ.02
----- categ.02_01
----- categ.02_02
--- categ.03
--- hidden_categ.  (hidden) (for me ID=17)
----- start        (visible) (Please forward this entry to index.php)
----- search       (visible)
----- sitemap      (visible)
----- contact      (visible)
----- imprint      (visible)

The last two entries are [print] and [back].
Using the same layout, I have implement a separate class. 
Have a look into nlu_nav07_2.css 
Knut

Re: NAV_LIST_UL >= V1.30

Posted: Tue 11. Mar 2008, 14:07
by dinnocon
Knut. You are the man!!

Thank you for your help. Much appreciated.

Re: NAV_LIST_UL >= V1.30

Posted: Wed 12. Mar 2008, 16:45
by dinnocon
Sorry Knut, could I pick your brain one more time? I am using the horizontal navigation ( <div class="hcss_menu1">{NAV_LIST_UL:F,0,10,,active}</div> ) which works fine in Firefox. The issue I have is in IE the second level doesn't remain long enough for me to click on anything. Is there a way of setting the delay so the menu items are accessible for longer?