
Added : function filters files replacing function hooks Added : add_admin_menu a whole new function and replaced all existing functions with new Added : New Admin Area with Bootstrap and new icons Added : functions for widgets Added : Sidebars and Widgets
18 lines
357 B
JavaScript
18 lines
357 B
JavaScript
|
|
function toggleLessMore(div,type)
|
|
{
|
|
var LessHeight = 60; //in pixels
|
|
|
|
if(type=='less')
|
|
{
|
|
$('#'+div).css('height',LessHeight);
|
|
$('#'+div+'-less').hide();
|
|
$('#'+div+'-more').show();
|
|
}else
|
|
{
|
|
$('#'+div).css('height','auto');
|
|
$('#'+div+'-less').show();
|
|
$('#'+div+'-more').hide();
|
|
}
|
|
}
|
|
|