Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by k Rajesh on Feb 26, 2009 01:16
open dhtmlx forum
Tabbar



i am using tabbar loading using html code .
i am showing dojo accordion in the tab bar by using include the jsp page ,
issue is that in ie6 it shows the accordion but in firefox it is not showing the accordion .

code sample i'm using is as follows



                        <div id="a_tabbar"

                            class="dhtmlxTabBar"

                            tabstyle="scbr"

                            tabheight="25"

                            imgpath="<%=basePath%>JSP/codebase/imgs/"

                            style="width: 276px; height: 100%;"

                            skinColors="#FFFFFF,#F4F3EE"

                            mode="left"

             offset="3"

                            select="doctab">

                            

                                <div id="doctab" width="100"

                                name="<table width='100%' height='100%' cellspacing='0' cellpadding='0' border='0' style='margin-left: 0px;'>

                                <tr>

                                <td width='100%' height='100%' valign='middle' align='center'>

                                 <img src='../IMAGES/Admin1.gif' >

                                </td>

                                </tr>

                                </table>" style="padding: 5px 5px 0 5px;">

             <%@ include file="UserPane.jsp"%>

                                </div>

                                <div id="smpltab" width="80" name="<table width='100%' height='100%' cellspacing='0' cellpadding='0' border='0' style='margin-left: 3px;'><tr><td width='100%' height='100%' valign='middle' align='center'>

                                <img src='../IMAGES/project.gif' ></td></tr></table>" style="padding: 5px 5px 0 5px;" select="1">

                                

                                 <%@ include file="ProjectPane.jsp"%>

                                

                                </div>

                        </div>

                    </div>


Answer posted by Alex (support) on Feb 26, 2009 07:32

If you load another component into tabbar, it is better to use script initialization. Please, see the sample  dhtmlxTabbar/samples/loading_creating_tabs_content/tab_content.html

In this case you can control the order of events calls and sizes of containers.