[SPIP Zone] r4279 - /_plugins_/@jQuery/head.php

Author: cedric@yterium.com
Date: Sun Jul 30 14:42:28 2006
New Revision: 4279

Log:
par defaut masquer tous les elements de la classe bloc_invisible

Modified:
    _plugins_/@jQuery/head.php

Modified: _plugins_/@jQuery/head.php

--- _plugins_/@jQuery/head.php (original)
+++ _plugins_/@jQuery/head.php Sun Jul 30 14:42:28 2006
@@ -5,6 +5,8 @@
       $flux .= '<script src="'.find_in_path('jquery_uncompressed.js').'" type="text/javascript"></script>';
     else
       $flux .= '<script src="'.find_in_path('jquery.js').'" type="text/javascript"></script>';
+ $flux .= '<script type="text/javascript">
+ $(document).ready(function(){$(".bloc_invisible").hide();})</script>';
     
     return $flux;
   }