Changeset 1206
- Timestamp:
- 06/06/09 11:53:16 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/shortArchives/_public.php
r1198 r1206 20 20 public static function publicHeadContent(&$core) 21 21 { 22 echo '<script type="text/javascript"> 23 $(document).ready(function(){ 24 $(".shortArchives li ul:not(:first)").hide(); 25 $(".shortArchives li a.archives-year").click(function(){ 26 $(".shortArchives li ul:visible").slideUp("slow"); 27 $(this).next().slideDown("slow"); 28 return false; 29 }); 30 }); 31 </script>'; 32 22 $url = $core->blog->getQmarkURL().'pf='.basename(dirname(__FILE__)); 23 echo '<script type="text/javascript" src="'.$url.'/js/accordion.js"></script>'."\n"; 33 24 } 34 25 }
Note: See TracChangeset
for help on using the changeset viewer.