Changeset 5729 for trunk/admin/themes
- Timestamp:
- Apr 9, 2010, 12:51:38 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/plugins_new.tpl
r5695 r5729 7 7 jQuery("td[id^='desc_']").click(function() {ldelim} 8 8 id = this.id.split('_'); 9 nb_lines = jQuery("#bigdesc_"+id[1]).html().split('<br>').length; 10 11 $("#smalldesc_"+id[1]).toggle('blind', 1); 9 12 if ($(this).hasClass('bigdesc')) {ldelim} 10 13 $("#bigdesc_"+id[1]).toggle('blind', 1); 11 14 $(this).removeClass('bigdesc'); 12 15 } else {ldelim} 13 $("#bigdesc_"+id[1]).toggle('blind', 50 );16 $("#bigdesc_"+id[1]).toggle('blind', 50 + (nb_lines * 30)); 14 17 $(this).addClass('bigdesc'); 15 18 } 16 $("#smalldesc_"+id[1]).toggle('blind', 1);17 19 return false; 18 20 }); … … 35 37 <legend></legend> 36 38 {foreach from=$plugins item=plugin name=plugins_loop} 37 <div class="pluginBox" id="plugin_{$plugin.ID}" }>39 <div class="pluginBox" id="plugin_{$plugin.ID}"> 38 40 <table> 39 41 <tr>
Note: See TracChangeset
for help on using the changeset viewer.