Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ashwini on Jun 11, 2008 21:45
open dhtmlx forum
Tabbar + jsp include

Is it possible for me to give separate jsps as the content in tabs while using tabbar?
Answer posted by Support on Jun 12, 2008 02:16
Yes, tabbar can work in few modes when content of each tab loaded from separate document

a) each tab - separate iframe
    http://www.dhtmlx.com/docs/products/dhtmlxTabbar/samples/loading_creating_tabs_content/tab_iframes2.html?un=1213263111000
    tabbar.setHrefMode("iframes-on-demand")
    tabbar.addTab("a1","tab 1",200)
    tabbar.setContentHref("a1","custom.jsp")


b) content of each tab loaded by AJAX
    http://www.dhtmlx.com/docs/products/dhtmlxTabbar/samples/loading_creating_tabs_content/tab_ajax_html.html?un=1213263239000
    tabbar.setHrefMode("ajax-html")
    tabbar.addTab("a1","tab 1",200)
    tabbar.setContentHref("a1","custom.jsp")