From 9f3cb7d668652bcb4ee304b76ce840103738423e Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Wed, 14 Oct 2009 05:18:52 +0000 Subject: [PATCH] When hovering over a layer name, turn it blue and italic git-svn-id: http://svg-edit.googlecode.com/svn/trunk@826 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 017f7839..cfe415ce 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -1361,9 +1361,11 @@ function svg_edit_setup() { evt.preventDefault(); }) .mouseover(function(evt){ + $(this).css({"font-style": "italic", "color":"blue"}); toggleHighlightLayer(this.textContent); }) .mouseout(function(evt){ + $(this).css({"font-style": "normal", "color":"black"}); toggleHighlightLayer(); }); $('#layerlist td.layervis').click(function(evt){