hey hey, good to know. Is this actually documented somewhere or do you
want me to complete the wiki ?

On Fri, Apr 18, 2008 at 8:13 PM, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>
>
>  On Apr 18, 3:18 pm, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote:
>  > ah ah, i found the answer on claus 's blog archive:
>  >
>  > the plugin is actually THAT smart that it generates the markup, which is
>  > *really* smart move in terms of nonobtrusiveness.
>  > oh man, code is definitely an art form....
>  >
>  > congratz Claus!
>  >
>  > PS: for others in the need of help with this issue, here is the only
>  > markup that is necessary:
>  >
>  > <ul id="tabNav">
>  >
>  > <li><a 
> href="news.php?todo=overview&filter=current"><span>current</span></a></li>
>  > <li><a href="news.php?todo=overview&filter=time"><span>time</span></a></li>
>  > <li><a 
> href="news.php?todo=overview&filter=country"><span>country</span></a></li>
>  > <li><a href="news.php?todo=overview&filter=type"><span>type</span></a></li>
>  >
>  > </ul>
>  >
>  > that's it, no tab container...
>
>  Hehe, yes, I tried to make it as unobtrusive - and easy to use - as
>  possible :-)
>
>  On the other hand, if you want to reuse an existing container, you
>  could do so, by matching a title attribute and the containers id:
>
>  <li><a href="news.php?todo=overview&filter=current" title="Todo
>  Overview"> ... </a></li>
>
>  and a container like:
>
>  <div id="Todo_Overview"> ... </div>
>
>  (Note how white space is replaced with an underscore)
>
>  This is useful if you want a human readable hash in the URL instead of
>  a cryptic generated one. Makes more sense later on after I have
>  reimplemented bookmarking/history support.
>
>  If that container doesn't exist, it is generated as well of course
>  with that id. Long story short, if a container already exists it won't
>  be generated and vice versa.
>
>  --Klaus
>
>
>  --Klaus
>
>
>
>



-- 
Alexandre Plennevaux
LAb[au]

http://www.lab-au.com

Reply via email to