You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/08/03 18:03:46 UTC
svn commit: r1153558 -
/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-tree.js
Author: lofwyr
Date: Wed Aug 3 16:03:45 2011
New Revision: 1153558
URL: http://svn.apache.org/viewvc?rev=1153558&view=rev
Log:
TOBAGO-857: add hover class for tree menu
Modified:
myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-tree.js
Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-tree.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-tree.js?rev=1153558&r1=1153557&r2=1153558&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-tree.js (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-tree.js Wed Aug 3 16:03:45 2011
@@ -158,6 +158,12 @@ jQuery(document).ready(function () {
tobagoTreeNodeToggle(this);
});
});
+
+ // normal hover effect (not possible with CSS in IE 6)
+ jQuery(".tobago-treeMenuNode").hover(function() {
+ jQuery(this).toggleClass("tobago-treeMenuNode-markup-hover");
+ });
+
/*
jQuery(".tobago-treeListbox > div > div > select > option:selected").change();
*/