<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.3790.2491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>when you add a "label" you must also add a corresponding
"folder" element.</FONT></DIV>
<DIV><FONT size=2>ex:</FONT></DIV>
<DIV><FONT size=2>if you add </FONT></DIV>
<DIV><FONT size=2><li id="label8"><a
href="javascript:ontop(8)">{t}Test{/t}</a></li></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>you must also add</FONT></DIV>
<DIV><FONT size=2> <BR> <div id="folder8"
class="folder"><BR> <BR>
</div></FONT></DIV>
<DIV><FONT size=2>otherwise a javascript error occure.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"><FONT
size=2>I was analising this code from the CARTOCLIENT.TPL file (located in the
<BR>folder: C:\wamp\www\cartoweb3\projects\PROJECT_NAME\templates). <BR><BR>I
altering the skin plus I want to add a new tab. In the cartoweb3 demo
<BR>project, there are the following tabs: <BR>PRINT, ABOUT, HELP, THEMES,
SEARCH, OUTLINE, QUERY. <BR>They were all generated by the following code (in
the cartoclient.tpl file): <BR><BR>... <BR>... <BR> <div
id="leftbar"> <BR> <div> <BR> <ul
id="tabnav2"> <BR> <li id="label2"><a
href="javascript:ontop(2)">{t}Print{/t}</a></li> <BR>
<li id="label4"><a
href="javascript:ontop(4)">{t}About{/t}</a></li> <BR>
<li id="label6"><a
href="javascript:ontop(6)">{t}Help Viewer{/t}</a></li>
<BR> </ul> <BR> <ul
id="tabnav1"> <BR> <li id="label1"><a
href="javascript:ontop(1)">{t}Themes{/t}</a></li> <BR>
<li id="label3"><a
href="javascript:ontop(3)">{t}Search{/t}</a></li> <BR>
<li id="label5"><a
href="javascript:ontop(5)">{t}Outline{/t}</a></li> <BR>
<li id="label7"><a
href="javascript:ontop(7)">{t}Query{/t}</a></li> <BR>
</ul> <BR>.... <BR>... <BR><BR>I adde a new tab as:
<BR></FONT><FONT size=2> <li id="label8"><a
href="javascript:ontop(8)">{t}Test{/t}</a></li> <BR><BR>When I
run the project, It appears but is not active. I perform a click and nothing
happens... (I don't know how to make this new tab active as the others are)
<BR><BR>What's wrong??? <BR><BR></FONT><FONT size=2><BR>Hélder M.C. Muianga
<BR>Cell: 82-47 27 160 <BR>Formado em Sistemas de Informação <BR>E-mail
alternativo:hmuianga@yahoo.com <BR><BR>"LUTE PELAS TUAS CONVICÇÕES, MESMO QUE
ISSO TE CUSTE UMA LÁGRIMA" <BR></FONT>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>