|
||||||
|
|
|
||||||||||||||||||||||||
MediaWiki:Common.js: mudanças entre as edições
Ir para navegação
Ir para pesquisar
| Linha 14: | Linha 14: | ||
/* Tirar ícone de links externos */ | /* Tirar ícone de links externos */ | ||
$('.mapa > a').removeClass('external text'); | $('.mapa > a').removeClass('external text'); | ||
/* Diálogos */ | |||
$(document).ready(function() { | |||
$('.dialogos').click(function() { | |||
var id = $(this).attr('id'); | |||
$('#div' + id).toggle(); | |||
$('span',this).toggle(); | |||
// alert(id); | |||
return false; | |||
}); | |||
}); | |||
Edição das 23h34min de 22 de setembro de 2012
/* Tooltips */
$(document).ready(function() {
$(".tooltip").hover(function(){
tip = $(this).find('.tip');
tip.show();
}, function() {
tip.hide();
}).mousemove(function(e) {
var mousex = e.pageX - 150;
var mousey = e.pageY - 165;
});
});
/* Tirar ícone de links externos */
$('.mapa > a').removeClass('external text');
/* Diálogos */
$(document).ready(function() {
$('.dialogos').click(function() {
var id = $(this).attr('id');
$('#div' + id).toggle();
$('span',this).toggle();
// alert(id);
return false;
});
});