minimal jquery alternative for fast mobile webapps -
i need dead simple jq alternative, tiny possible , more or less requirements:
- slideup/down.
- json get
- basic dom
the iphone-look alike-frameworks doesn't me (overdone , heavy purpose) which, knowledge, leaves me xui.js, http://xuijs.com/.
unfortunately, slideup / accordeon - functions seems buggy or @ least not working expected.
thankful input if there's other minimal libraries around. or if has got slideup work xui in accordeon-fashion.
(things has changed since previous post request: minimal framework web-apps, valuable information gaby aka g. petrioli on there)
to clarify issues xui, upon using:
x$('#box').tween({ height:'0px', color:'#00ff00', backgroundcolor:'blue' }, function() { alert('done!'); }); the content of #box (div) still visible, though div it's bg-color slides nicely. using correctly?
regards,
//t
the absolute lightest way lot of things stick along lines of vanilla javascript. created set of basic functions part of side project i've been working on may of use you. vanilla javascript object provides 4 simple animation types (fadein/fadeout + slidedown/slideup) along basic helper functions (addclass, removeclass) etc. rip base function out of github code https://github.com/thybag/jsnip/blob/master/jsnip.js , customise own needs. (sorry plugging link, though pasting code overkill) [note: lacks json method of now, though assume finding vanilla javascript function shouldn't hard if decided go plain javascript route.]
if you'd rather little better supported try jquery mobile version: http://jquerymobile.com/ i've heard http://www.sencha.com/products/touch/ pretty mobile development (though think still reasonably heavy weight)
sorry can't of more help.
Comments
Post a Comment