1
0

More changes because of case-sensitive filesystems -.-

This commit is contained in:
2014-08-04 15:42:24 +02:00
parent 2af3e05fe1
commit 2c5f34c071
10 changed files with 758 additions and 19 deletions

View File

@@ -0,0 +1,25 @@
jQuery(document).ready(function ($) {
$('.svg-tip').fadeOut(0);
$('.svg-tip').css({opacity: 1});
$("rect").mouseenter(
function (event) {
$('.svg-tip').stop(true, true);
$('.svg-tip').fadeIn(400);
$('.svg-tip strong').html($(event.target).attr('hvr_header'));
$('.svg-tip span').html($(event.target).attr('hvr_content'));
$('.svg-tip').css({left: $(event.target).position().left - $('.svg-tip').outerWidth() /2 - 2.5 + 9});
$('.svg-tip').css({top: $(event.target).position().top - $('.svg-tip').outerHeight() - 10});
}
);
$("rect").mouseleave(
function () {
$('.svg-tip').stop(true, true);
$('.svg-tip').fadeOut(400);
}
);
});