| 31 |
$('#btn_close').click(function(){ $('#debug_window').fadeOut('slow'); }); |
$('#btn_close').click(function(){ $('#debug_window').fadeOut('slow'); }); |
| 32 |
|
|
| 33 |
// set each item inside the debug to collapse |
// set each item inside the debug to collapse |
| 34 |
$('.debug .lbl') |
/*$('.debug .lbl') |
| 35 |
.toggle( |
.toggle( |
| 36 |
function(){ $(this).next().slideUp('slow'); }, |
function(){ $(this).next().slideUp('slow'); }, |
| 37 |
function(){ $(this).next().slideDown('slow'); } |
function(){ $(this).next().slideDown('slow'); } |
| 38 |
) |
) |
| 39 |
.mouseover(function(){ $(this).css('cursor','pointer'); }) |
.mouseover(function(){ $(this).css('cursor','pointer'); }) |
| 40 |
.mouseout(function(){ $(this).css('cursor','default'); }); |
.mouseout(function(){ $(this).css('cursor','default'); }); |
| 41 |
|
*/ |
| 42 |
|
$('.debug .lbl .expand') |
| 43 |
|
.toggle( |
| 44 |
|
function(){ $(this).parent().next().slideUp('slow'); $(this).html("+"); }, |
| 45 |
|
function(){ $(this).parent().next().slideDown('slow'); $(this).html("-"); } |
| 46 |
|
); |
| 47 |
|
$('.debug .lbl .info') |
| 48 |
|
.toggle( |
| 49 |
|
function(){ $(this).next().slideDown('slow'); }, |
| 50 |
|
function(){ $(this).next().slideUp('slow'); } |
| 51 |
|
); |
| 52 |
|
|
| 53 |
|
|
| 54 |
// if jquib module is installed AND works, make draggable and resizable |
// if jquib module is installed AND works, make draggable and resizable |
| 55 |
if (typeof $ui != 'undefined') { |
if (typeof $ui != 'undefined') { |