D
Daniel Bleisteiner
Hi there,
I've come across http://www.barelyfitz.com/projects/tabber/index.php
which allows easy Javascript creation of tabs. The only problem I
currently have is, that in my portlet environment it's nearly
impossible to remove all extra markup between the different tabs and
so the script doesn't work as needed.
My idea is to improve it so we don't need to outer <div
class="tabber"> element and collect all <div class="tabbertab "> and
group them automatically in a generated tab div using javascript. Then
we could use that script similar to lightbox ones by simply defining
what div's shall be grouped using tabs and the rest is done
automatically - no matter what markup lies between those tabbed divs.
We could also use some kind of selector like we know from lightbox
scripts as lightbox[g1]...
<div class="tabbed_group1">...content...</div>
<div class="tabbed_group1">...content...</div>
<div class="tabbed_group1">...content...</div>
and
<div class="tabbed_group2">...content...</div>
<div class="tabbed_group2">...content...</div>
Can this be done?
I've come across http://www.barelyfitz.com/projects/tabber/index.php
which allows easy Javascript creation of tabs. The only problem I
currently have is, that in my portlet environment it's nearly
impossible to remove all extra markup between the different tabs and
so the script doesn't work as needed.
My idea is to improve it so we don't need to outer <div
class="tabber"> element and collect all <div class="tabbertab "> and
group them automatically in a generated tab div using javascript. Then
we could use that script similar to lightbox ones by simply defining
what div's shall be grouped using tabs and the rest is done
automatically - no matter what markup lies between those tabbed divs.
We could also use some kind of selector like we know from lightbox
scripts as lightbox[g1]...
<div class="tabbed_group1">...content...</div>
<div class="tabbed_group1">...content...</div>
<div class="tabbed_group1">...content...</div>
and
<div class="tabbed_group2">...content...</div>
<div class="tabbed_group2">...content...</div>
Can this be done?