javascript - dynamically created flowplayer scrollable addItem scrolls out of the container -


i creating horizontal scrollable list editable. size of container of list dynamic based on width of visible area of browser. when have list of items has filled screen, , add new item, container scrolls way past newly added element, blank screen. if scroll using "prev" button, see it. i've attached code used dynamically add new item.

i tried use .move , .seekto functions correct location, "prev" button gets randomly disabled can't scroll back.

any pointers anyone?

var speed = 200; var parent = $("#main-container").data("scrollable");  parent.end(speed);      var clone = $("#thumbnail-clone").clone(true, true); var input = clone.find(".text-input");  clone.attr("id", newid);  parent.additem(clone);  input.show(); clone.show(); input.focus(); 


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -