[jboss-cvs] jboss-seam/examples/wiki/view/themes/default ...
Christian Bauer
christian at hibernate.org
Sat Jan 12 05:39:02 EST 2008
User: cbauer
Date: 08/01/12 05:39:02
Modified: examples/wiki/view/themes/default template.xhtml
Log:
Right-click action menu on dir display
Revision Changes Path
1.44 +17 -0 jboss-seam/examples/wiki/view/themes/default/template.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: template.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/themes/default/template.xhtml,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- template.xhtml 11 Jan 2008 00:09:17 -0000 1.43
+++ template.xhtml 12 Jan 2008 10:39:02 -0000 1.44
@@ -26,6 +26,7 @@
<script type="text/javascript" src="#{themePath}/js/jqHistoryRemote.js"></script>
<script type="text/javascript" src="#{themePath}/js/jqProgressBar.js"></script>
<script type="text/javascript" src="#{themePath}/js/jqDimensions.js"></script>
+ <script type="text/javascript" src="#{themePath}/js/jqContextMenu.js"></script>
<script type="text/javascript" src="#{basePath}/seam/resource/remoting/resource/remote.js"></script>
<script type="text/javascript" src="#{basePath}/seam/resource/remoting/interface.js?httpSessionChecker"></script>
@@ -255,6 +256,22 @@
}
jQuery(function() {
+ $.contextMenu.defaults({
+ shadow: false,
+ menuStyle: {
+ padding: '0'
+ },
+ itemStyle: {
+ border: 'none',
+ padding: '4px'
+ },
+ itemHoverStyle: {
+ backgroundColor: '#EAE8E5',
+ border: 'none',
+ padding: '4px'
+ }
+ });
+
wrapBoxes();
});
</script>
More information about the jboss-cvs-commits
mailing list