| 80 | | // // New Slot Box |
| 81 | | // $('div.a-new-slot').remove(); |
| 82 | | // $('div.a-slots').prepend('<div class="a-new-slot"><p>+ Add Slot</p></div>'); |
| 83 | | // $('ul.a-controls a.a-add-slot').hover(function(){ |
| 84 | | // var thisArea = $(this).parents('div.a-area'); |
| 85 | | // thisArea.addClass('over'); |
| 86 | | // // We could animate this to slide open, or just toggle the visibility using CSS |
| 87 | | // // thisArea.find('div.a-new-slot').animate({ |
| 88 | | // // display: 'block', |
| 89 | | // // height: '25px' |
| 90 | | // // }, 325, function() { |
| 91 | | // // }); |
| 92 | | // },function(){ |
| 93 | | // var thisArea = $(this).parents('div.a-area'); |
| 94 | | // thisArea.removeClass('over'); |
| 95 | | // // thisArea.find('div.a-new-slot').stop(); |
| 96 | | // // if (!thisArea.hasClass('add-slot-now')) |
| 97 | | // // { |
| 98 | | // // thisArea.find('div.a-new-slot').css({ |
| 99 | | // // height:'1px', |
| 100 | | // // display:'none', |
| 101 | | // // }); |
| 102 | | // // } |
| 103 | | // }) |
| 104 | | |
| 105 | | //aContext Slot / Area Controls Setup |