[jboss-cvs] jboss-seam/examples/wiki/view/themes/sfwkorg ...

Christian Bauer christian at hibernate.org
Sat Jan 12 05:39:03 EST 2008


  User: cbauer  
  Date: 08/01/12 05:39:03

  Modified:    examples/wiki/view/themes/sfwkorg  template.xhtml
  Log:
  Right-click action menu on dir display
  
  Revision  Changes    Path
  1.6       +19 -0     jboss-seam/examples/wiki/view/themes/sfwkorg/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/sfwkorg/template.xhtml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- template.xhtml	11 Jan 2008 00:09:16 -0000	1.5
  +++ template.xhtml	12 Jan 2008 10:39:03 -0000	1.6
  @@ -27,6 +27,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>
  @@ -251,6 +252,24 @@
               // Noop for this skin
           }
   
  +        jQuery(function() {
  +            $.contextMenu.defaults({
  +                shadow: false,
  +                menuStyle: {
  +                    padding: '0'
  +                },
  +                itemStyle: {
  +                    border: 'none',
  +                    padding: '4px'
  +                },
  +                itemHoverStyle: {
  +                    backgroundColor: '#f5f5f5',
  +                    border: 'none',
  +                    padding: '4px'
  +                }
  +            });
  +        });
  +
       </script>
   
   </head>
  
  
  



More information about the jboss-cvs-commits mailing list