css max-width for tooltips

This commit is contained in:
Sanj 2011-06-26 04:44:43 +05:30
parent cf030b62c7
commit 9d56bff8bc
2 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,7 @@
position: absolute;
z-index: 3000;
border: 1px solid #aaa;
max-width: 350px;
background-color: #393939;
padding: 8px;
color: #fff;

View File

@ -28,6 +28,13 @@ $(function() {
});
});
$('#heartspng').hover(function() {
$('#rajakani').css({"stroke": "#FF00FF"});
}, function() {
$('#rajakani').css({'stroke': '#000000'});
});
$('text').each(function() {
$(this).css({'cursor': 'pointer'});
var $tspan = $(this).children('tspan').eq(0);