MediaWiki:Common.js
Aller à la navigation
Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.
- Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
- Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
- Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
- Opera : appuyez sur Ctrl + F5.
$(document).mousemove(function(e){ if ($('.popup_window:visible').length!==0){ var width; var height; var parent_left = $('.mycontainer:hover').offset().left; var parent_top = $('.mycontainer:hover').offset().top; var w = e.pageX; width = w + 20 - parent_left; var h = e.pageY; height = h + 10 - parent_top; $('.popup_window:visible').css({top: height, left: width}); } });