Reputation: 4 Apprentice
- Active Members
- Active Posts:
- 181 (0.13 per day)
- 18-May 11
- Profile Views:
- Last Active:
- Mar 02 2015 02:23 PM
- Dream Kudos:
Posts I've Made
Posted 2 Mar 2015Thanks for that solution. Splitting the <script> tags was all I needed. Code works just fine now.
Posted 23 Jul 2014Thanks, sometimes the obvious seems so elusive.
Posted 10 Aug 2013happens often, as soon as you submit the question, the answer pops up in your mind.
You are so right. If only I could get a penny for every minute I spend splitting my hairs over some code that won't work simply because I didn't follow my syntax closely enough...
Posted 9 Aug 2013@Dormilich, I had figured out the problem before reading your post. Works now. Thanks for your input though.
Posted 9 Jun 2013I would ask if there are errors in your console, but I don't know if a mobile phone has a console />
Try increasing the delay from 100 to something big, 500 or 1000 (1 second):
myScroll = new iScroll("wrapper"); }, 100); // increase this number.
This will confirm whether it is just a problem with loading.
Alternatively, you might switch to the DOMContentLoaded event (to see if it behaves better) as detailed in the documentation - assuming this is the same plug-in, and version.
@andrewsw thanks for the insights but didn't help. The delay isn't the issue. The thing just won't scroll at all(just bounces) until I flip to landscape orientation and back to portrait. I tried increasing the delay time as you suggested...no luck. And both the content loaded and inline initialization methods won't work at all. There are no errors in my console(I also test my work in a desktop computer browser). Do you have any working example?
- Member Title:
- D.I.C Head
- Age Unknown
- Birthday Unknown
- Click here to e-mail me
drayarms hasn't added any friends yet.