I have a single-page mobile application developed with Backbone and Zepto.  It works correctly with the back/forward buttons in the browser.  When the user navigates to a page, the new content slides in from the right as the old contents slides away...
In jQuery,   $.ajax({      url: 'http://reddit.com/r/aww.json',      dataType: 'jsonp',     jsonp: 'jsonp' });   sends a request to the following URL:   http://www.reddit.com/r/aww.json?jsonp=jsonp1354967449950.  But in Zepto,...
I am trying to copy a property by value so that different instances can modify it separately. My understanding is that using jQuery or Zepto's $.extend is a great way to do 'copy by value'. It is not working in my situation and I'd li...
I'm using the Magnific popup script.   The script is great, but what I'm missing is that the URL (www.mysite.com/?rel=gallery) is not changing, regardless of which image is shown in the popup, so nobody can link to my one image directly, just...
Zepto does not support jQuery's .is(':visible') technique.   So how do you check if an element is visible?...
http://jsfiddle.net/ytytb5hu/  How can I make all the the p up to class="here" the color of red using a loop?  <p>1</p> <p>2</p> <p>3</p> <p class="here">4</p> <p>5</p>   .he...
I'm getting a weird error message inside mobile safari on iOS:  "TypeError: '[object Object]' is not a valid argument for 'Function.prototype.apply'".  The code which triggers this works fine in Chrome (after adjusting the...
I'm trying to make a Bootstrap alert box smoothly hide when the user clicks the close button. However, Zepto is making the alert box behave in a very strange way:   I'm using the following code to handle the closing:   $(".alert .close...
I have a web app I'm developing (with zepto) which has several dropdown  elements on one form. On iPad and Android devices, everything is fine. On an iPhone however, when scrolling, if you touch a dropdown while scrolling, the page snaps back to...
I'm currently developing a cordova(3.4.0) app for fun.  The version of hammer.js is 1.0.10  The version of zepto.js is 1.1.3  Here are all my .js I'm using in my index.html after I read all the dependancy et doc:  <script type="text/ja...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.