|
Date: 8/27/2008 3:57 am · Subject: Re: Can a WebGUI navigation generate li's of different sizes? · Rating: 0
One way of doing this would be to use CSS, and give each element a unique ID using a counter.
In the navigation template:
<div class="nav" id="item<TMPL_VAR NAME="__counter__">
Then in CSS:
#item1 { background-image: url(images/pic1.png); width: 100px; height: 30px; }
etc.
--- (Edited on 27-08-2008 09:57:31 [GMT+0100] by xootom) ---
|