[Cartoweb-dev] new tab in template

giuseppe.derossi at email.it giuseppe.derossi at email.it
Tue Oct 23 03:27:44 EDT 2007


Hi All,
I'm trying to add a new set of tab (read folder) under the main map like the
folder in the leftbar.
I've added the js code and the css. When I recompile the project I can see
the folders and I can click on them but they are empty:
the pages are not displayed, all the pages are in the same directory. I
think that the path is wrong, but I've set the absolute path, the http path
but nothing . Now If this piece of code is a tpl file which is loaded by the
main map and it is in the templates directory of the project, and if all the
pages are in the same directory, which is the path I 've to use ?


<div class="tabBox" style="clear:both;">
  <div class="tabArea">
    <a class="tab" href="page_1.html" target="tabIframe2">page_1</a>
    <a class="tab" href="page_2.html" target="tabIframe2">page_2</a>
    <a class="tab" href="page_3.html" target="tabIframe2">page_3</a>
    <a class="tab" href="<path?>page_4.html" target="tabIframe2">page_4</a>
    <a class="tab" href="page_5.html" target="tabIframe2">page_5</a>
  </div>
  <div class="tabMain">
    <h4 id="title">Top Picks</h4>
    <div class="tabIframeWrapper"><iframe class="tabContent"
name="tabIframe2" src="page_1.html" marginheight="8" marginwidth="8"
frameborder="0"></iframe></div>
  </div>
</div>

THanks in advance and best regards

Giu
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Utilizza l'email marketing di Email.it, oltre 2 milioni di utenti
registrati tra cui trovare i tuoi futuri clienti
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7148&d=20071023




More information about the Cartoweb-dev mailing list