Page 1 of 1

help with {NAV_TABLE_SETLEVEL} and {NAV_LIST_SETLEVEL} tag

Posted: Thu 18. Jan 2007, 01:36
by baklavoni
TAG {NAV_LIST_SETLEVEL:back:0 :0 :1 :1:} gave me vertical menu like:

L1
L2
L3
L4

but i need horizontal menu like: L1 : L2 : L3 : L4

Is there something i need to do before implementing this TAG?
I followed instructions on this link: http://phpwcms.de/forum/viewtopic.php?t=8479

help[/url]

Posted: Thu 18. Jan 2007, 07:49
by flip-flop
Hi baklavoni,

have look, this is an easy css snippet for a horizontal output using {NAV_LIST_SETLEVEL:Home:1:0:0:0:nav_horiz1}:

Code: Select all

/* ============ CSS horizontale navi kh 220605*/
#nav_horiz1_ul {
	border: 0;
	margin: 0;
	padding: 0;
	list-style-type: none;
	text-align: center;
	font: bold 11px, verdana, lucida, sans-serif;
}

#nav_horiz1_ul li {
	display: block;
	float: left;
	text-align: center;
	padding: 0;
	margin: 0;
}

#nav_horiz1_ul li a {
	background: #FF5F28; 
	width: 137px;
	height: 20px;
	border-top: none;
	border-right: 1px solid #ffffff;
	border-bottom: none;
	border-left: none;
	padding: 0;
	margin: 0;
	color: #ffffff;
	text-decoration: none;
	display: block;
	text-align: center;
	font: bold 11px/20px "Verdana", "Verdana", verdana, lucida, sans-serif;
}

#nav_horiz1_ul li a:hover {color: #000000; background: #FF8E28; font-weight: bold; }
#nav_horiz1_ul li a#nav_horiz1_active,
#nav_horiz1_ul li a#nav_horiz1_last,
#nav_horiz1_ul li a#nav_horiz1_first,
#nav_horiz1 li a#nav_horiz1_active_link,
#nav_horiz1 li a#nav_horiz1_home_active_link,
#nav_horiz1 li.active a {
	background: #FFCC00;
	color: #000;
	font-weight: bold;
}

/* ============ END CSS horizontale navi */
Regards Knut

Thanx!!!

Posted: Thu 18. Jan 2007, 22:53
by baklavoni
Again you prooved you are THE BEST!!!
This is exactly I was looking for.

Flip-Flop Thanx!