Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Lalit on Feb 23, 2009 04:46
open dhtmlx forum
tabbar color tinge

I have changed the background color of my tabbar as

.dhx_tabbar_row {
background-color: #39516B !important;
}
in a css file which I am importing dynamically in a page.

The problem with it is - "There is a slight blue tinge" at the upper corners between the space between any two tabs.
Also there appears a orange border on the top corner of tab for active and hover(mouse over tab) tabs which should not be there.Instead the background color of the tab should change when I hover(take my mouse over tab).
What can be the done for it ?

Please comment.

Thanks in advance.
Lalit.



Answer posted by Support on Feb 23, 2009 06:13
>>"There is a slight blue tinge"
The images used in non-default skins has transparent areas at the upper corners, which mades the color under tab visible through it. You can use default skin, which has not such transparent areas, or customize used images ( replace transparent colors with any default value ) 

>>Also there appears a orange border
Part of skin, can be disabled as 
   tabbar._styles["skin name here"][3] = tabbar._styles["skin name here"][0]
   tabbar._styles["skin name here"][4] = tabbar._styles["skin name here"][1]
   tabbar._styles["skin name here"][5] = tabbar._styles["skin name here"][2]

Answer posted on Mar 21, 2009 08:41
I have not used any setSkin function .
How can I get a default skin ?

Could you please explain me what is "skin name here"][3] and why we are replacing with "skin name here"][0] in
  tabbar._styles["skin name here"][3] = tabbar._styles["skin name here"][0] ?

Thanks,
Lalit
Answer posted by Alex (support) on Mar 23, 2009 02:48

>> How can I get a default skin ?

The default skin name is "winDflt"

>> Could you please explain me what is "skin name here"][3] and why we are replacing with "skin name here"][0] in

If tabs should have the same images for both states: passive and active, this replacing can help.

tabbar._styles["winDflt"][3] = tabbar._styles["winDflt"][0];

....