Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    tabs with different background color

    Hi isomorphic,

    I have two set of images for tabs, top0 and top1.

    The three structure is like I show:

    Tab
    |-top
    |-top0
    | |-baseline_end.png
    | |-baseline_start.png
    | |-baseline_stretch.png
    | |-....
    | |-....
    |
    |-top1
    | |-baseline_end.png
    | |-baseline_start.png
    | |-baseline_stretch.png
    | |-....
    | |-....

    I try to show some tabs with top0 and some tabs with top1, in the same TabSet but I donīt get it.

    I am using ImgTab.setSkinImgDir("top0/") or ImgTab.setSkinImgDir("top1/") before to create a tab (documentacionTabSet.addTab), but I donīt get the result that I want.

    Code:
    ImgTab.setSkinImgDir("top0/");	
    
    documentacionTabSet.addTab({title: "", pane:"htmlFlow" + "0" + "0", titleStyle : "redTabTitle"}, data.pestanaId);
    Could you help me ?

    Thanks in advance
Working...
X