i like to see this bin "onclick" handler more pluggable.
like listeners.
so it can be easy extended without changing the iui.js



On 14 Okt., 18:11, Sean Gilligan <[email protected]> wrote:
>
> You'll need to add either a class or a new target type to the link that
> should trigger the "flip" transition.  You could use class="doflip" or
> target="_flip", for example.  Then add an else/if condition to the long
> sequence of else/if conditions in the click handler.  You'll probably
> have to add a method similar to showPageID that you can call in this
> case.  Rename slidePages() to animatePages() and add a parameter
> specifying the type of transition (or change 'backwards' from a boolean
> to a string)  Duplicate slide2() and modify it to setup a "flip"
> transition (look at Apple's example).   From animatePages() call the new
> method when the transition type is "flip".
>
> Configurable transitions/animations is a nice feature and I'm thinking
> it could be the defining feature of a 0.5 release.  I'd probably use the
> brute-force approach above but then refactor the existing code to try to
> make things a little more consistent and  elegant.  You definitely need
> to think about how the transition type relates to the history and the
> back button.  (See Issue #183)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to