Questions tagged [iscroll4]

iScroll 4 is a scrolling library for mobile web development. Using iScroll 4 developers can add overflow:scroll functionality to mobile browsers. Other features iScroll 4 provides include Pinch/Zoom, Pull-To-Refresh and element snapping.

Useful links:

195 questions
18
votes
9 answers

iScroll won't let items be clicked

I am using iScroll4 and it's working great! This are the functions I use to init, refresh and end iScroll: function iniciarIscroll(){ /*En ie7 no lo usamos*/ if(!ie7){ $(document).ready(function() { myScroll1 = new…
Toni Michel Caubet
  • 19,333
  • 56
  • 202
  • 378
16
votes
5 answers

Scroll JQuery Mobile Panel Separately From Content

I'm working on an HTML 5 mobile app using JQuery Mobile. The design calls for a sidebar menu that can scroll independently of the main content, so for example you could scroll somewhere on the page, open the menu and scroll within that menu without…
Kirkpatrick
  • 163
  • 1
  • 1
  • 5
14
votes
3 answers

Enable click events in iScroll on mobile browser

I'm using iScroll to create a web app and I'm unable to click any divs that are within the iscroll wrapper. I tried setting eventPassthrough option to be true but it causes a significant amount of scrolling problems. Anyone experienced this? Edit:…
smstromb
  • 586
  • 2
  • 7
  • 19
13
votes
7 answers

iScroll with native scrolling on one axis

I am using the most wonderful javascript tool iScroll4 http://cubiq.org/iscroll-4 on a mobile website for iOS and Android. Here is what my layout looks like: The horizontally scroll-able area is making use of iScroll4 with the following settings: …
Fresheyeball
  • 29,567
  • 20
  • 102
  • 164
12
votes
2 answers

jQuery mobile + iScroll, cannot scroll down

I'm trying to integrate jQuery Mobile with iScroll 4. I am aware that there is already a project that does this, however, I'm avoiding it due to a bug with input-elements (page jumping like crazy when typing). My current implementation looks like…
Zar
  • 6,786
  • 8
  • 54
  • 76
11
votes
3 answers

css pointer-events property change and respective jquery events not triggering together

Here is my code segment. I am using iscroll 4 for scroll in touch devices and desktop. $('#next_item').bind('mousedown touchstart',function (e) { //do something onclick $(this).bind('mousemove touchmove',function(e){ //triggers only…
user850234
  • 3,373
  • 15
  • 49
  • 83
11
votes
1 answer

Can I suspend iScroll functionality?

I want to disable the scroll sometimes so I can do multi-touch events in the same area, something like... if event.originalEvent.touches.length is 2 then myScroll.disable() Is something like this possible?
fancy
  • 48,619
  • 62
  • 153
  • 231
10
votes
2 answers

How can I add a onScroll event to iScroll4?

The onScroll event is not yet supported by the iScroll4. Is there a known way to extend the iScroll to support an onScroll event?
user920041
8
votes
5 answers

making iscroll to work when loading a div dynamically

can anyone please explain, with an example if possible, how to load dynamic content inside an iscroll div and assign a new height to it? I can get it to work but I can't control the height of the scroll for the new content. I'm new to all this and…
user994531
  • 81
  • 1
  • 1
  • 4
8
votes
1 answer

Horizontal scrolling fails with width=device-width iscroll

Example code here: http://pastebin.com/95z3pftQ I'm trying build a mobile page with a fixed header, and a "content" section, which will be filled external (sanitized, but otherwise arbitrary) HTML. I need to use iscroll or something like it,…
Lucas Wiman
  • 10,021
  • 2
  • 37
  • 41
6
votes
1 answer

strange position of iScroll scrollbar

I'm building a touch-enabled html app and decided to use iScroll for scrolling within a div. essentially, I've got two seperate scrolling divs but the scrollbars are always placed on the far outside of the page http://jsfiddle.net/SRXMn/3/ the…
pedalpete
  • 21,076
  • 45
  • 128
  • 239
6
votes
2 answers

Create this effect in mobile safari?

I want to create this effect in mobile safari. http://jqueryfordesigners.com/demo/header-slide.html I'm using iScroll 4. I want to mix iScroll with this example. http://jsfiddle.net/tdQmQ/3/ (here is what i have so far, use the mouse to flick like a…
fancy
  • 48,619
  • 62
  • 153
  • 231
6
votes
1 answer

iscroll scrollToElement not updating currPage variable

UPDATE: I was able to get my scroller working as desired but I feel like I have hacked around the actual issue and would love it if anyone has a more solid answer, I've updated and noted in the snippets below the new jQuery I'm using. I'm using…
Thomas
  • 1,069
  • 4
  • 18
  • 40
6
votes
1 answer

using iscroll with jquery mobile

Im currently pulling my hair out trying to get iscroll 4 working with jQuery Mobile. It all works fine it i disable JQM ajax default navigation but I would like to retain this. My issue is I cant work out how to successfully call/bind iscroll so it…
Adi
  • 4,034
  • 13
  • 56
  • 78
1
2 3
12 13