Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by bucheq on Jan 01, 2008 19:19
open dhtmlx forum
Load the direct link from dhtmlmenu to the iframe in the tabbar

Is there any possibility to load the link from dhtml menu to be loaded in the iframe tabbar? or even if the link from the toolbar?

Right now, i am still review your product advantage. I try to use, the menu, toolbar and tabbar in the same time. but the problem is, i want to using single active frame (that is from the tabbar iframe) to all the page link, but still cannot work.

please help me. thx.
Answer posted by Stanislav on Jan 04, 2008 15:00
Actually there are few ways to achieve desired functionality , it not possible to use "href" based menu with tabbar without modification, but you can use it in next way

    menu.setOnClickHandler(function(id){
       switch (id){     //id - id of menu item
             case "some1":
                   tabbar.forceLoad(tabID,url);
             break;
             ....
        }
    });


tabbar.forceLoad command loads specified url inside specified tab of tabbar ( works for ajax/iframe based modes )