testing svg css with heart mouse-over

This commit is contained in:
Sanj 2011-06-26 07:56:54 +05:30
parent 508b9ad5be
commit 9c352d683a

View File

@ -28,12 +28,16 @@ $(function() {
});
});
$('#heartspng').hover(function() {
$('#rajakani').css({"stroke": "#FF00FF"});
$('#heartpng').hover(function() {
// console.log("HEART damnit");
// $('#rajakani').find('line').css({'stroke': '#ff00ff'});
$('#loveline').css({'stroke': '#ff00ff'});
}, function() {
$('#rajakani').css({'stroke': '#000000'});
$('#loveline').css({'stroke': '#000000'});
});
// $('#heartpng').click(function() { alert("foo") });
$('text').each(function() {
$(this).css({'cursor': 'pointer'});
@ -46,7 +50,7 @@ $(function() {
$this.data("name", thisData.name);
$this.data("type", thisData.type);
$this.data("link", thisData.link);
$this.addClass(thisData.type);
// $this.addClass(thisData.type);
$this.tooltip({
'delay': 0,
'showURL': false,