MediaWiki:Wikiminiatlas.js: Difference between revisions
setting an opacity value screws up the display of the icon in IE completely :-(
(that did not work, as the protocol is added to a.href, however $(a).attr('href') returns the ''original'' protocol-relative URL!) |
(setting an opacity value screws up the display of the icon in IE completely :-() |
||
Line 393: | Line 393: | ||
alt: '' | alt: '' | ||
} ) | } ) | ||
// .css('opacity', 0.75) | |||
// .hover(function (){ $(this).fadeTo(50, 1.0); }, function () { $(this).fadeTo(250, 0.75); }) | |||
.hover(function (){ $(this).css('opacity', 0.75); }, function () { $(this).css('opacity', ''); }) | |||
.addClass('noprint') | .addClass('noprint') | ||
.css('padding', isRTL() ? '0px 0px 0px 3px' : '0px 3px 0px 0px' ).css('cursor', 'pointer'); | .css('padding', isRTL() ? '0px 0px 0px 3px' : '0px 3px 0px 0px' ).css('cursor', 'pointer'); |