View source for User:Chocohead/common.js
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
/******************************************
* Tooltip Testing *
*****************************************/
$(function() {
var mc_tooltip = null;
$(".a1, .tooltip").on({
'mouseenter.tooltip': function(e) {
var $me = $(this);
// Make sure this isn't a link to upload a new file
if ($me.find('.new').length > 0) {
// This isn't one we want to show a tooltip for
return;
}
// Try to get the title
var title = $me.data('tooltip');
// See if we can find a title elsewhere
000
1:0
Return to User:Chocohead/common.js.