Categories | Question details Back To List | ||||||||
tabbar.tabWindow('b1') has no properties
this._hrfmode has no properties hi i try your suggestion as attachments files but i take errors. When i write btabbar.showTab('b1'); btabbar.tabWindow('b1').document.dgr.mtnSart.value="murat"; commands in a function (deneme) which is on onclick event. I have taken "btabbar.tabWindow('b1') has no properties" erorr. Also; When i write same codes blow of btabbar.loadXML("tabs5.xml"); command, i have taken "this._hrfmode has no properties" erorr. i use firefox 2.0.0.3. thank you for your interest. denek.html ______________________________________________________- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" /> <title>Untitled Document</title> </head> <script src="js/dhtmlXCommon.js"></script> <script src="js/dhtmlXTabbar.js"></script> <script src="js/dhtmlXTabbar_start.js"></script> <script language="javascript1.5" > function deneme(){ btabbar.showTab('b1'); btabbar.tabWindow('b1').document.dgr.mtnSart.value="murat"; } </script> <body> <table width="100%" border="0"> <tr> <td height="617" valign="top"> <div id="b_tabbar" style="width:100%;height:100%"></div> <script> btabbar=new dhtmlXTabBar("b_tabbar","top"); btabbar.setImagePath("imgs/tabs/"); btabbar.loadXML("tabs5.xml"); btabbar.tabWindow('b1').document.dgr.mtnSart.value="kayseri"; </script></td> </tr> <tr> <td height="637" valign="top"><form id="form1" name="form1" method="post" action=""> <input type="button" name="Button" value="Button" onclick="deneme()" /> </form></td> </tr> </table> </body> </html> tabs5.xml ____________________________________________________ <?xml version="1.0"?> <tabbar hrefmode="iframe"> <row> <tab id="b1" width='100px' selected="1" href="kodcu_dgr.jsp">Diğer Kodlar</tab> <tab id="b2" width='100px' href="kodcu_seri.jsp">Seri Üretim</tab> <tab id="b3" width='100px' href="kodcu_rsm.jsp">Resimler</tab> <tab id="b4" width='100px' href="kodcu_arama.jsp">Arama Ekranı</tab> </row> </tabbar> Answer posted on Jun 25, 2007 12:08 In case of "iframe" mode (it seems you are using it) - please use attached file instead of original one - it will resolve issue with tabWindow functionality Also; When i write same codes blow of btabbar.loadXML("tabs5.xml"); The loadXML is async operation, command, which called directly after it, can be executed before XML really loaded and parsed, to be sure that XML loaded you can use next syntax btabbar.loadXML("tabs5.xml",function(){ //any code here which need to be executed after XML loading }); Attachments (1)
Answer posted by Nadine (Support) on Nov 29, 2014 10:19 To find more precise comments upon this issue, we can offer you read about web app store and dialog windows. |