我有如下代碼:slideUp和slideDown導致Firefox 12中的文本跳轉?
$(function(){
$("#ani").slideUp(600,function(){
$(this).text('13').slideDown(600);
});
})
和HTML如下代碼:
<div>Comment: <span id="ani">12</span></div>
當頁面已經被加載幻燈片將影響Comment:
文本。 I have written this code in jsFiddle and you can watch it there. 問題是什麼。我寫display
和height
CSS屬性外格,但不獲得成功;(
*問題是什麼? – sachleen 2012-07-15 06:45:52
'評論:'會隨數字跳躍。頁面加載時。我只想滑動數字。 '評論:'應該是固定的 – ALH 2012-07-15 06:46:49
它確實。 12下滑,13彈出。 – sachleen 2012-07-15 06:48:02