iscroll

iScroll 5 not working when 2nd page should be scrollable

£可爱£侵袭症+ 提交于 2019-12-25 12:49:33
问题 I'm using apache cordova 2.2 jquery 1.7.2 jquery mobile 1.4.3 iscroll 5 (Matteo Spinelli ~ http://cubiq.org/) I have the following index.html: <div data-role="page" id="id1"> <div data-role="header" data-position="fixed"> </div> <div data-role="content" id="id2"> </div> <div data-role="footer" data-position="fixed"> </div> </div> <div data-role="page" id="thisshouldscroll"> <div data-role="header" data-position="fixed"> <div id="buttondiv" data-role="navbar"> some buttons </div> </div> <div

With Fullpage.js, can y-position inside sections be reported during scrollOverflow scrolling? (using iscroll-probe)

冷暖自知 提交于 2019-12-25 04:27:11
问题 I'm using the latest version of fullpage.js with the scrollOverflow option set to true. Like this example... http://alvarotrigo.com/fullPage/examples/scrolling.html Fullpage.js uses iscroll.js for this option, and I have included the "probe" version of iscroll. Like this example... http://lab.cubiq.org/iscroll5/demos/probe/ Can iscroll-probe report the y position of whichever fullpage "section" is currently being scrolled ? 回答1: It is indeed possible. Although the iScroll library has some

How to get iScroll to work in an Ionic/Angular application

谁说胖子不能爱 提交于 2019-12-25 03:44:12
问题 Following on from a previous post, I have got iScroll to at least load into my Ionic application. I am doing this as I want flick scrolling on the app when running in a Windows Desktop environment, where you just get the Windows standard scroll as opposed o the native flick (momentum) scrolling as on a Mobile device Just for testing, I have just done this the old fashion way of linking the script, and then finding the IScroll hanging off the window object (as I could not get it working

initializing iscroll with phonegap and jQuery mobile

吃可爱长大的小学妹 提交于 2019-12-24 19:23:07
问题 I have built a project using phonegap and jquery mobile, and have iscroll working perfectly on the first page. However on my second page iscroll isn't running. Can someone tell me how you initialize a jquery script on the page in JQM? I am new to both platforms and think it may be a simple mistake! Thanks 回答1: I never used phonegap, but im building a JQM-webapp as well, so i hope this works for you. iScroll seems to cause several problems trying to implement it in JQM. This is why they came

iScroll Not Loading On A Hashed Link In jQuery Mobile

被刻印的时光 ゝ 提交于 2019-12-24 06:44:18
问题 I've set up an iScroll on a nested div in one of my detail pages in a jQuery mobile site. Basically what happens is when I click on the button on the main page (for an 'about' page) it goes to the location with a hashed link (using Ajax from what I've gathered). Example: http://www.example.com/#about.php (this doesn't work with iScroll, BTW this is obviously not a real URL, just an example of syntax) Basically when I load the URL by itself (as a non-hashed link), the iScroll works fine, but

webkit-overflow-scrolling forms broken on iOS 7 full-screen web app

瘦欲@ 提交于 2019-12-18 11:29:15
问题 I'm having trouble with a full-screen (saved to home screen) iPhone web app on iOS7. Typically, when an input is selected, it has scrolled into view above the keyboard. However, this doesn't seem to happen on iOS7 for scrolling DIVs in a full-screen web app. Thus, when a DIV uses "-webkit-overflow-scrolling: touch" and an input in the bottom half of the screen is clicked, the keyboard is fired, but the input doesn't scroll up. AND, at that time, the input won't respond to any further onFocus

input not working in phonegap app

女生的网名这么多〃 提交于 2019-12-13 05:19:45
问题 I'm creating a Cordova PhoneGap app and have trouble with the input fields. I'm using iScroll for scroll and refresh. Suddenly my input fields aren't responding. So users can't even login when they start the app. I use standard fields and i can't give the input fields focus. Not even with a wrapper where I set "[input].focus()". The html code is <input class="newinput" onclick="this.focus();" type="email" id="email" name="email" value="" autocorrect="off" autocapitalize="off" required=""

iScroll inside iScroll - nested iScroll unexpected behavior

这一生的挚爱 提交于 2019-12-12 22:21:02
问题 I have 2 lists and I use iScroll for vertical scrolling. The second list is inside the first list. When I scroll the second list, the first list is also scrolling. I want that when I scroll the inside list (the second list), the main list (the first list) will not scroll. How can I do that? Here is an Example: <div id="wrapper" style="overflow: hidden;"> <div id="scroller"> <ul id="thelist"> <li>Pretty row 1</li> <li>Pretty row 2</li> <li>Pretty row 3</li> <li>Pretty row 4</li> <li>Pretty row

Horizontal iScroll issues on desktop browsers

前提是你 提交于 2019-12-12 15:38:22
问题 I'm trying to implement horizontal scrolling for a desktop website using iScroll.js. Dragging is working fine, and styling is applied ok, but I'm finding issues with scrolling. Initially I used iScroll 4.1.7 Mousewheel not working as it should on PC's On Macs Chrome and Safari have issues with preventing native scrolling, specifically, if you the user has activated the trackpad preference: Swipe between pages, if you scroll to the left (back), it opens previous page. Firefox is scrolling OK

iscroll 5 beta doesn't show scrollbars

放肆的年华 提交于 2019-12-11 11:34:52
问题 i'm implementing iScroll 5 beta on my site but have a problem to show and customize horizontal scrollbar. In the options I have scrollX: true and this enables to scroll horizontally but there is no scrollbar for that. On the demo sites of iScroll 5 beta there are no scrollbars (on desktop). Did anybody manage to show and customize them? Thanks, Arek 回答1: Try to add scrollbars: true as an option when initialising IScroll . it will add it. 回答2: Please use the below options to make it work for