forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arthur thompson <ah_kroi...@yahoo.com>
Subject Re: level 2 tabs are all the same?
Date Fri, 16 Sep 2005 00:05:29 GMT
good day all below is a summary of my tabs situation
any comments will be appriciated:

site.xml
-------------------------------------------------------
<site label="MyProj" href=""
xmlns="http://apache.org/forrest/linkmap/1.0" tab="">
   
  <about label="About">
    <index label="Index" href="index.html"
description="Welcome to MyProj"/>
  </about>

  <samples label="Samples" href="samples/"
tab="samples">
    <index href="index.html"/>
    <sample label="Apache doc v2.0"
href="sample.html">
      <top href="#top"/>
      <section href="#section"/>
    </sample>
    <static label="Static content"
href="static.html"/>
  </samples>

</site>
-------------------------------------------------------

tabs.xml
-------------------------------------------------------
<tabs software="MyProj"
  title="MyProj"
  copyright="Foo"
  xmlns:xlink="http://www.w3.org/1999/xlink">

  <tab id="" label="Home" dir=""
indexfile="index.html"/>
  <tab id="samples" label="Samples" dir="samples"
indexfile="sample.html">
    <tab id="samples-index" label="Index"
dir="samples" indexfile="index.html"/>
    <tab id="samples-sample2" label="Sample2"
dir="samples" indexfile="static.html"/>
  </tab>

</tabs>
-------------------------------------------------------

using this configeration of site.xml and tabs.xml the
outer tabs work as they should.

when the samples tab is clicked the home tab changes
to the unselected color and the samples tab changes to
the selected color.

but the two subtabs of the samples tab are the same
color.

when the page is rendered both subtabs belong to a
class called base-selected can someone explain the
significance of this. also is there a way for me to
manually set the class of these subtabs

thank you
kroikie


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

Mime
View raw message