Categories | Question details Back To List | ||
How to refer to the tab from a loaded href? I must update the tab structure from a remote page loaded trought href parameters on tabbar. My structure are: <div hrefmode="iframes" id="add" class="dhtmlxTabBar" imgpath="/js/dhtmlx/imgs/" style="width:900px; height:520px;" skinColors="#FCFBFC,#F4F3EE" > <div id="IT_alternativa" width="100" name="Italiano" href="/amministrazione/articoli.phtml?azione=modify&rubrica=01.01&id=433&force_lang=IT"></div> <div id="EN_alternativa" width="100" name="English" href="/amministrazione/articoli.phtml?azione=modify&rubrica=01.01&id=899&force_lang=EN"></div> <div id="DE_alternativa" width="100" name="Deutsch" href="/amministrazione/articoli.phtml?azione=modify&rubrica=01.01&id=900&force_lang=DE"></div> <div id="ES_alternativa" width="100" name="Espanol" href="/amministrazione/articoli.phtml?azione=modify&rubrica=01.01&id=901&force_lang=ES"></div> <div id="NEW_alternativa" width="100" name="Copia in altra lingua" href="/amministrazione/articoli.phtml?azione=addlang&nome=alternativa"></div> </div> My problem are add, delete and sect active tab from the program loaded with iframes href parameter. Thank Answer posted on Nov 13, 2007 04:53 You can use next code from any of child iframes if necessary parent.[tabbar_name].[command_name] for example, in case of you html snippet parent.add.addTab(.... value of "id" attribute => can be used to refer to tabbar object after its initialization. |