Tribunal de Justiça do Estado da Bahia
Mudanças entre as edições de "MediaWiki:Monobook.js"
De DMO
Linha 1: | Linha 1: | ||
/* Qualquer JavaScript aqui colocado afetará os usuários do skin MonoBook */ | /* Qualquer JavaScript aqui colocado afetará os usuários do skin MonoBook */ | ||
− | function | + | function minimize( target ) { |
− | + | var id = $( target ).parent().attr( 'id' ); | |
− | + | // You can change the expires parameter to save the cookie longer/shorter than 7 days like in this code | |
− | + | $.cookie( expandCookieName + id, 'false', { expires: 7} ); | |
− | + | var str = labels[id] + ' ►'; | |
− | + | $( target ).next( 'div' ).animate({'height': '0px'}); | |
− | + | $( target ).html( str ); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } |
Edição das 11h02min de 19 de agosto de 2013
/* Qualquer JavaScript aqui colocado afetará os usuários do skin MonoBook */ function minimize( target ) { var id = $( target ).parent().attr( 'id' ); // You can change the expires parameter to save the cookie longer/shorter than 7 days like in this code $.cookie( expandCookieName + id, 'false', { expires: 7} ); var str = labels[id] + ' ►'; $( target ).next( 'div' ).animate({'height': '0px'}); $( target ).html( str ); }