Announcement

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

    Tabset problem in firefox browser

    Hi ,

    I am having tabset problems in firefox browser for button which are now clickable,
    I had tried with demo example at location http://www.smartclient.com/index.jsp#tabsOrientation

    I had just modified the position of button, this works in IE but not in firefox,
    Code:
    isc.TabSet.create({
        ID: "topTabSet",
        tabBarPosition: "top",
        width: 400,
        height: 200,
        tabs: [
            {title: "Blue", icon: "pieces/16/pawn_blue.png", 
             pane: isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_blue.png"})},
            {title: "Green", icon: "pieces/16/pawn_green.png",
             pane: isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_green.png"})}
        ]
    });
    
    isc.TabSet.create({
        ID:"leftTabSet",
        tabBarPosition: "left",
        width: 400,
        height: 200,
        top: 250,
        tabs: [
            {icon: "pieces/16/pawn_blue.png", 
             pane: isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_blue.png"})},
            {icon: "pieces/16/pawn_green.png",
             pane: isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_green.png"})}
        ]
    });
    
    isc.IButton.create({
        title: "Select Blue",
        top: 215,
        click: function () {
            topTabSet.selectTab(0);
            leftTabSet.selectTab(0);
        }
    });
    
    isc.IButton.create({
        title: "Select Green",
        top: 5,
        left: 170,
        click: function () {
            topTabSet.selectTab(1);
            leftTabSet.selectTab(1);
        }
    });

    #2
    Hi kens,

    If your intent was to place the "Select Green" button to the right of the second tab, this appears to work identically in all browsers. However if what you'd really like to do is place an additional widget into the TabBar area of the TabSet, use TabSet.tabBarControls.

    Comment

    Working...
    X