On Feb 27, 11:44 pm, David Kaneda <[email protected]> wrote:
> Hi all,
>
> Just wanted to let everyone know about a new project of mine, jQTouch
> (www.jqtouch.com) which is a jQuery-based port of iUI. It is still in
> its infant stages, but already has most of the functionality of iUI,
> with native, hardware-accelerated, transitions used instead of
> Javascript based. We have a lot of plans for the library, including
> custom events around orientation changes and swipe detection, theming,
> and additional page transitions like 3D page flip, slide up, and slide
> down.
>
> There is a demo available on the site:http://www.jqtouch.com/demo/
404 Not Found
>
> It was also just used for the mobile site for Dyad Communications,
> design office:http://www.dyadcom.com/mob/
The site doesn't appear to work at all in Firefox, Firebug says:
useless setTimeout call (missing quotes around argument?)
setTimeout($.fn.itouch.checkOrientandLocation, 0);
> I'd love to get some feedback, including any/all questions, comments,
> and feature requests.
The use of hard-coded px for landscape detection is a bad idea if you
want the script to run on devices with screens that are other than
320px in any dimension:
var orient = currentWidth == 320 ? "profile" :
"landscape";
consider:
var orient = (currentWidth < currentHeight)? "profile" :
"landscape";
It doesn't seem to use much of jQuery, so there doesn't seem much
point to building on top of it. Surely you could have provided the
functionality in your library in a fraction of the size?
iUI is less than 450 lines of code and 11kB (not minified), jqtuoch is
already about the same size *without* the several thousand lines and
54kB (minified) of jQuery, what's the point?
--
Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---