From 9c352d683ac8343936b201b6992f33cc71818a60 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sun, 26 Jun 2011 07:56:54 +0530 Subject: [PATCH] testing svg css with heart mouse-over --- radia.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/radia.js b/radia.js index cfedff5..0baef91 100644 --- a/radia.js +++ b/radia.js @@ -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,