Ignore:
Timestamp:
08/17/12 16:48:33 (12 years ago)
Author:
gustavo
Message:

Ticket #2911 - Melhoria na disposição e exibição das abas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/newExpressoMail/expressoMail1_2/js/abas.js

    r7046 r7064  
    1111 
    1212var ptabs = $("#ptabs").tabs({  
    13         tabTemplate: "<li role='tab'><a href='#{href}'>#{label}</a> <span class='ui-icon ui-icon-close' title='Fechar Aba'>Fechar Aba</span></li>",  
     13        tabTemplate: "<li role='tab' style='cursor: pointer;'><a href='#{href}'>#{label}</a> <span class='ui-icon ui-icon-close' title='Fechar Aba'>Fechar Aba</span></li>",  
    1414        add: function( event, ui ) {  
    1515                countID++;  
     
    2525        }, 
    2626        select: function(event, ui) {  
    27                 console.log(ui.index); 
    2827                lastIndexSelected = ui.index; 
    2928        } 
    30 });  
     29}); 
    3130 
    3231//$(ptabs).find(".ui-tabs-nav").wrap("<div class='scroll-tabs'></div>"); 
     
    5857} 
    5958 
    60  
    6159/*  
    6260        method : removeTab 
     
    8381} 
    8482 
    85  
    8683/*  
    8784        method : indexTab 
Note: See TracChangeset for help on using the changeset viewer.