Questions tagged [zepto]

Zepto.js is a minimalist JavaScript framework for modern browsers, with a jQuery-compatible syntax.

From the project-site: http://zeptojs.com/

"Zepto is a minimalist JavaScript library for modern browsers with a largely jQuery-compatible API. If you use jQuery, you already know how to use Zepto.

While 100% jQuery coverage is not a design goal, the APIs provided match their jQuery counterparts. The ultimate goal is to have a ~5-10k library that downloads and executes fast, with a familiar and versatile API, so you can concentrate on getting stuff done."

Source code: https://github.com/madrobby/zepto

319 questions
0
votes
1 answer

Using Zepto with prototype

I want to use Zepto in a page that has both jQuery and Prototype. But i can't find noConflict() in Zepto documentation. I use my jquery code with prototype on the same page so no-conflict is very important. Can someone let me know how to use Zepto…
MayThrow
  • 2,159
  • 4
  • 24
  • 38
0
votes
0 answers

Zepto/JQuery AJAX request automatically downloading media files from requested html

I need to make AJAX request for HTML content, but when I look into firebug it seems that request is downloading media files attached to requested html (images, CSS). How can I stop it? I need only plain text from PHP-genereted HTML. $.ajax({ …
Artur Czyżewski
  • 705
  • 5
  • 12
0
votes
0 answers

Can't get the ajax jsonp result

I'm performing an Ajax jsonp call on a remote server (crossdomain request) (using Zepto, based on jQuery). Here is a part of the code I'm using to perform it : $.ajaxJSONP ({ url :…
Jsncrdnl
  • 3,005
  • 5
  • 28
  • 43
0
votes
1 answer

Kiosk web-app: re-submit data after failed request

I've built a web-app to run on an iPad, effectively functioning as a kiosk. The app collects basic data like Name, Address and Email. This is then sent to a remote MySQL database. Is there any way I can safeguard the entries in the event that…
thv20
  • 986
  • 4
  • 13
  • 26
0
votes
0 answers

Is there a Zepto equivalent for outerHTML?

I haven't been able to find a Zepto equivalent for outerHTML so I wrote my own function. Is there a better way? My function is working for me but if there is a "right" way to do this, I would prefer that. function outerHTML(node){ return…
EMuentes
  • 562
  • 1
  • 8
  • 18
0
votes
1 answer

Perfomance of timeout functions

I have a JS-problem where I have to check a horizontal ul for when the li's of that lists width has gone over a max-width, and then reduce the side-padding of those elements to make all li's fit. The problem is that I can not fire an event when a…
Daniel Hallqvist
  • 822
  • 5
  • 15
0
votes
1 answer

Backbone-forms + Zepto fails to render

i'm developing an app for Blackberry OS5 using Phonegap + Zepto + Backbone. In order to do so, I've been using Backbone-forms to handle submition but since OS5 has problems with jQuery version higher than 1.4.4, i moved to Zepto, but the render…
guiman
  • 1,334
  • 8
  • 13
0
votes
2 answers

Getting jQuery Queue into Zepto JS

I'm trying to use Zepto JS instead of jQuery for a project but Zepto JS's lack of a "queue" system like jQuery's is making things difficult for me. Has anyone made a plugin/port of jQuery's queue stuff for use with Zepto JS? Or, if not, is there a…
0
votes
1 answer

can't copy the input field value inside iframe on iOS5

I can't copy input field value. I tried this steps. focus input field hold and tap select all tap copy fiddle1 can copy text. (not load Zepto.js) fiddle2 can't copy text. (load Zepto.js) I think the reason lies with Zepto. Do you know anything…
GeckoTang
  • 2,697
  • 1
  • 16
  • 18
0
votes
2 answers

Using JavaScript and PHP to download image files and return a zip file

I'm in the middle of developing a Safari extension for imageboard-type websites and one of the bigger features I'm hoping to implement is the ability to download all of the images (the posted ones, not the global page-level images) that had been…
Nik Matt
  • 3
  • 3
0
votes
3 answers

load piece of script very last

I'm using this terrible API for a client. It packages HTML/JS to an iPad app. I'm using iScroll but it interferes with the built-in scrolling mechanism. They've provided some code to disable their scrolling, but it only works when loaded after all…
Neo
  • 1,027
  • 3
  • 12
  • 30
0
votes
2 answers

Check whether JSON value is present zepto

I've been trying for a while to get this to work, but I can't find a solution that works the way I need. I'm using zepto.js and what I need to do is get a list of posts from a feed and loop through them. I've got it all working fine apart from posts…
Bunkered
  • 309
  • 1
  • 3
  • 12
0
votes
2 answers

Are CSS3 keyframe animations smoother than property transitions?

I've got a mobile web app that uses Zepto to create transitions between pages. Animation is super smooth on desktop, but pretty choppy on my iPhone 4. Are animations more performant than transitions? What's the difference between animations and…
endemic
  • 1,369
  • 1
  • 10
  • 20
0
votes
2 answers

Is there something like nextAll() in Zepto.js?

I have a list of nodes:
How can I with Zepto get all nodes 3-5, when using $(".current") as selector (node-2)?
user920041
0
votes
2 answers

Zepto's on implementation for Focus and Blur events

I need to run some code on focus and blur events on elements that were injected into the DOM after page load. So I am using Zepto's on (Zepto's on link) to run the code but it doesn't work for me. Here is my jsfiddle in which I am trying to make it…
Ashfame
  • 1,731
  • 1
  • 25
  • 42
1 2 3
21
22