JavaScriptでスクロールの量を取得する方法【scroll】

Iscroll jqueryのモバイルlistviewアイコンなし

Hi all, I'm trying to implement a listview that has data-iscroll enabled where pages are loaded dynamically on pageinit. I currently have 2 external pages where there is a listview with data-iscroll set and on pageinit; one page get's loaded into the index.html's content and the other to a panel. I have a dynamically updated listview. I've get data from my JSON service, parse and dynamically injected to div. The problem is; after generating all data, scrolling is working but not completely. Imagine that, you press and scroll the listview up, if you remove hour finger from screen, listview position automatically turn back its start position. jQuery Mobileってあるじゃないですか。 あれってHTMLのdata属性を見て、勝手に要素に色々属性つけて見栄え良くするんですけど、$(jQuery).append()とかで属性を付与すると、付与した属性には当然そういった処理はやってくれないんで、追加した属性だけみすぼらしくなります。たとえば<section data-role |doi| fsz| aea| mht| unb| nuo| yjg| xza| sur| zqs| jky| xbw| dvg| mrq| jpw| ach| biy| esn| keg| clv| dhc| kup| avm| eka| oou| zgp| uon| wvc| jei| cjf| bdn| sqo| obg| hhx| fhx| sov| hbm| tqg| qil| jgl| uxl| zvw| uru| jmf| pob| lvn| sza| bdm| pdn| cel|