javascript - Scriptaculous effect.slideup jerky in firefox -
i have simple effect.slideup("div_name") using scriptaculous in rails app.
placed div within div mentioned guy (http://goingspare.wordpress.com/2007/08/03/fix-jerky-scriptaculous-scriptaculous-animation-effects/) , works great ... in chrome.
however, in firefox div jerky , looks ugly-assed. suggestions on how solve this? should looking jquery?
here code:
new thread | new comment new comment <div id="create_thread" style="display:none"> <div id="new_thread_or_comment_inner"> new thread <br /> <% remote_form_for :commentthread, :url => { :action => 'createthread' } |f| %> <textarea name="commentthread[text]" id="commentthread_text" > </textarea> <a href="javascript:cancelthread()" class="button">cancel</a> <input type="submit" value="submit" id="submit" /> <% end %> </div> </div>
the create_thread div scrolls down effect.slidedown('create_thread', { duration: 0.3 }); "new thread | new comment new comment " line bounces on place, maybe need buffer? have emptied div still no luck.
cheers,
slothistype
i have had success slides jquery in firefox , browsers. works well. http://api.jquery.com/slideup/. unless need things in scriptaculous, id give jquery go.
http://www.ruby-forum.com/topic/116173 seems else had problem too, loading lot of things in div? have not had problems large slide animations either in jquery.
Comments
Post a Comment