Dotclear

Changeset 1206


Ignore:
Timestamp:
06/06/09 11:53:16 (14 years ago)
Author:
annso
Message:

cleaner version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/shortArchives/_public.php

    r1198 r1206  
    2020     public static function publicHeadContent(&$core) 
    2121     { 
    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"; 
    3324     } 
    3425} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map