Introducing Slideup: An iOs-like panel built for iUI framework
Mobile web application libraries are dividing in two main groups: lightweight libraries and complex and (often heavy) application framework with extended UI support.
Introduction
A good point of balance is iUI – a web UI framework for mobile devices. It offers a really basic, but very functional, navigation system between pages (the classic left-to-right and right-to-left swipe effect when transiting page). At this time is still a beta and there is some work to be done.
It’s deliberately delivered without support for various type of transition and effects like jQuery Mobile or jQTouch in order to stay light. And that’s really a good strategy; but the more you rely on pure javascript, the less developers will be attracted. Why? well, because JavaScript is hard comparing to jQuery or any other library. But for mobile applications, with their low- hardware performances, a good programming disposition might be the key to build a successful user experience.
Slideup, a full-screen -iOs like – javascript powered dialog
I built Slideup with iUI in mind, but it works everywhere, since has been written in pure javascript. That’s a really small plugin to generate the classic slide effect (down-to-top and top-to-down).
Just build a html panel inside a page (see iUI paradigm), with an element to activate and deactivate dialog.
At this point just declare an instance of Slideup:
var myDialog = new Slideup('openDialog', 'closeDialog', 'dialogPanel');
Slideup constructor takes 3+1 argoments:
- id of element designed to open dialog
- id of element designer to close dialog
- id of dialog element
- a function fired when user closes dialog (optional)
See more, download & demo:
Slideup on GitHub