摘要: Prototype 问题记录
slideUp & Down 问题记录
使用 slideUp 和 slideDown确保容器再包一层div ,这样做是为了让高度计算更加精确
el.slideDown({ duration: 0.3 ,afterFinish:function(e){
$(e.element).setStyle({'display':'block'});
ele.removeClassName('accordion-item-title-ing');
}});
<div class="bgff padding-left-right-large accordion-item-content bgff" style="display:none;">
<div>//这里在包一层div
<div>
<ul>
<li>HSBC / Hang Seng Bank - "Bill Payment Service" </li>
<li>Jetco - "JetPayment" </li>
</ul>
</div>
<p class="padding-top-bottom-normal">Please select bill payment service on ATM, then select SmarTone and "01" for payment and follow the on-screen instructions.</p>
<p class="padding-top-bottom-normal">Payments made through Jetco and HSBC / Hang Seng Bank will take 30 minutes and 2 working days respectively to process.</p>
</div>
</div>
© 著作权归作者所有