Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Huzeyfe on Feb 13, 2009 03:21
open dhtmlx forum
My hover script dosn't work in tabbar

Hi,

I am using tabbar. I have a page which contains an hover tip. It works fine seperatly but when I put it in tabbar my hover doesn't work. Could you please help me?
Answer posted by Alex (support) on Feb 13, 2009 05:48

Which loading mode do you use ?

Please, provide any sample to recreate the issue. 

Answer posted by Huzeyfe on Feb 13, 2009 05:56
I use this code to create tabbar:

tabbar=new dhtmlXTabBar("a_tabbar","top");
            tabbar.setImagePath("tabs/codebase/imgs/");
            tabbar.setStyle("modern");           
            tabbar.loadXML("tabs/tabs2.xml");

My xml file contains the data about the pages. There is no problem for creating tabs. The problem is I cannot call my hovar function when the page is loaded into tabbar. For example my page name is hover.htm. It works when I use its direct url. .../hover.htm. But when I load it to tabbar via the xml file. I cannot callamy function. Is there any code that blocks my function or I have library clash problem?
Answer posted by Alex (support) on Feb 13, 2009 06:46

Probably you use iframe loading mode.

In this case it is necessary to get the window of tab content to call the function.

tabbar.tabWindow(tabId).someFunction(); 

Answer posted by Huzeyfe on Feb 13, 2009 09:10
No, I don't use iframe. I tried your suggest but t didn't work :(
Answer posted by dhxSupport on Feb 13, 2009 09:34
Please provide any kind of sample (or demo link) where problem can be reconstructed 
You can send such info directly to support@dhtmlx.com