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

Christian Bauer christian at hibernate.org
Fri May 4 08:35:29 EDT 2007


  User: cbauer  
  Date: 07/05/04 08:35:29

  Modified:    examples/wiki/view/themes/default  template.xhtml
  Log:
  Switched to much nicer jQuery modal dialogs
  
  Revision  Changes    Path
  1.21      +6 -1      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.20
  retrieving revision 1.21
  diff -u -b -r1.20 -r1.21
  --- template.xhtml	3 May 2007 14:10:48 -0000	1.20
  +++ template.xhtml	4 May 2007 12:35:29 -0000	1.21
  @@ -30,14 +30,19 @@
               // Find the dynamic JSF client identifier by looking up
               // the static identifier of its j4j proxy child element
               var realId = document.getElementById(id).title;
  +            //alert("FOR: '" + id + "' FOUND: '"+ realId + "'");
               var element = document.getElementById(realId);
               return $(element);
           }
  +        var fadeIn = function(hash) { hash.w.fadeIn('fast',function(){ hash.o.show(); }); };
  +        var fadeOut = function(hash) { hash.w.fadeOut('fast',function(){ hash.o.remove(); }); };
       </script>
       <script type="text/javascript" src="#{themePath}/js/jquery.js"></script>
       <script type="text/javascript" src="#{themePath}/js/interface.js"></script>
  +    <script type="text/javascript" src="#{themePath}/js/jqModal.js"></script>
       <script type="text/javascript">$(function() {
  -/* jQuery example
  +
  +        /* jQuery example
           jsf("documentDisplay_").find("a").hover(
               function() {
                   $(this).parents("div").css("background", "lightGreen")
  
  
  



More information about the jboss-cvs-commits mailing list