nico3d wrote:
> Sorry, but I definitly prefer to work with IUI than JQTouch. Coding
> process, obviously are same but IUI seems to me better organized than
> JQTouch, easier too.
>   

I've looked at jQTouch and it looks well-organized to me.  You 
definitely have to be comfortable working with jQuery, though.  I've 
looked at many alternatives to iUI and they all offer at least one 
advantage or feature that iUI doesn't have.  Every project has unique 
requirements and every developer has a unique set of skills and 
preferences.  There is room in the world (and on this list) for more 
than one framework.  (However,  I don't want this list to become the 
official support forum for anything besides iUI)

> IUI could be the perfect coding process to me... Only if I could add
> to CSS a flip transition capability, as I said in my first message.
>   
> Do you know how can I do that, dear sir ? To sum up again : I want to
> add flip capability just at one moment, keeping the slide capability
> everywhere else.
>   


It shouldn't be hard to add.  The following is an outline of a 
brute-force approach:

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)

Definitely use the latest code in Mercurial as a starting point for this 
work (I just added  some changes to backButton handling that I'm using 
on a project that might end up getting a flip transition just like 
you're  looking at...)

Good luck and keep in touch!

-- Sean


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