Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Peter Mühlhöfer on Nov 30, 2007 12:19
open dhtmlx forum
Row - insert with html

I got the commercial license of the tabbar.
I'd like to initialize the tabbar with an HTML - text as my html-site is not written in application/xhtml+xml or ext/xml - style.
But I miss the possibility to add rows, which is possibile with the comemrcial version.

Is there a way to addRows by HTML ? I don't want to you use javascript, because in my opinion this way is slower in the browser.


Peter
Answer posted on Dec 03, 2007 02:55
Is there a way to addRows by HTML ?
tab div can contain "row" attribute

                <div id="a_tabbar" class="dhtmlxTabBar" imgpath="../../codebase/imgs/" style="width:398; height:395;"  skinColors="#FCFBFC,#F4F3EE" >
                    <div id="a1"  row="1" width="100" name="Profiles" ><img src="../images/page_a.gif"></div>
                    <div id="a2"  row="1"  width="100" name="Settings" ><img src="../images/page_b.gif"></div>
                    <div id="a3"  row="2" width="100" name="Content" >Content 3</div>
                </div>

Code above will produce tabbar with two tab lines, first will contain tabs a1 and a2, second a3

>>I don't want to you use javascript, because in my opinion this way is slower in the browser.

The performance difference can occur only in case of really complex HTML layout, basically it will be nearly same in common case