[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

nested navbar

Ok I have a nested navbar defined like this:

<navbar:define name="main" imgstar=inactive:selected:active >
 <navbar:header><table width=100% cellpadding=0 cellspacing=0 border=0><tr><td><img src="$(IMAGES)/head.jpg"></td></tr></navbar:header>

 <navbar:button id=index  url="./" menu="welcome_list" img=welcome_*.jpg>

 <navbar:footer><tr><td><img src="$(IMAGES)/menu_foot.jpg"></td></tr></table></navbar:footer>

<navbar:define name=welcome_list>  

 <navbar:button txt="Description" url="./" img=welcome1.jpg:welcome2.jpg:welcome3.jpg>


The following is sniped from the html output:


-- table begin --

    <td align="left" valign="top">
<script type="text/javascript" language="JavaScript">
<!-- Hiding the code

-- code generated by navbar --

// done hiding -->
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td><img src="../images/menu_head.jpg" alt="" width="120" height="20"></td></tr>
<tr><td><img src="../images/welcome_selected.jpg" alt="" width="120" height="30">         -- (*rember this line 
<script type="text/javascript" language="JavaScript"> <!-- Hiding the code
function nb_imgNormal(imgName) {

-- more code generated by navbar

// done hiding -->
</script>   --(** rember this line too

-- calls to the javafunctions, just like navbar should do--

--end table--


Now comes the problem. Right befor the inserted menu there comes a little space, how do I avoid
this? I have find out that if I hit <del> at the end of the two marked line (* and (** so that the
following line moves up, the space is removed, but this is not a method I like to as a plan for my
site to grow.

I'm sorry about the amount of code, but I could not come up with a better way to give a precise

Peter Poulsen
Aalborg, Denmark

E-mail: peter_poulsen@mail1.stofanet.dk
Phone: +45 98 15 47 05
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com