Changeset 34
- Timestamp:
- 07/26/08 16:44:18 (1 year ago)
- Files:
-
- togglecategories/trunk/img/toggle.gif (added)
- togglecategories/trunk/img/toggle.png (deleted)
- togglecategories/trunk/manifest.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
togglecategories/trunk/manifest.xml
r32 r34 25 25 <hook id="hd_index_head"> 26 26 <![CDATA[ 27 $tpl_main = str_replace('<body onLoad="', '<body onLoad="showlinks();', $tpl_main); 28 $tpl_main = str_replace('<body>', '<body onLoad="showlinks();">', $tpl_main); 29 27 30 ob_start(); 28 31 29 32 ?> 30 33 <script type="text/javascript"> 31 var elementList = document.getElementsByClassName("hidelink"); 34 function showlinks() 35 { 36 elementList = document.getElementsByClassName("hidelink"); 32 37 33 for (var i = 0; i < elementList.length; i++) 34 { 35 elementList.[i].style.display = 'block'; 38 for (i = 0; i < elementList.length; i++) 39 { 40 elementList.[i].style.display = 'block'; 41 } 36 42 } 37 43