myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject 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
Date Wed, 03 Aug 2011 16:03:46 GMT
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();
 */



Mime
View raw message