<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<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>
</BODY>
</HTML>