baker icon indicating copy to clipboard operation
baker copied to clipboard

Jquery

Open DaveLEWIS opened this issue 14 years ago • 5 comments

Nube Question:

Hi, I am new to baker.

Please may I ask, can JavaScript and/or Jquery be used for Baker ?

More over, which is best used for small animations in Baker interactive books.

This is a great community. Thank you in advance :D

DaveLEWIS

DaveLEWIS avatar Sep 19 '12 10:09 DaveLEWIS

jQuery or javascript animation will work fine. If possible, use CSS animation because it's hardware accelerated and will look much smoother. Whatever you can do in mobile Safari you should be able to do in Baker

cipnt avatar Sep 19 '12 11:09 cipnt

Hi cipnt,

I didn't realise that animation could be achieved with CSS alone.

The animation would be a maximum of five frames, bitmap images.

May I ask, is there a useful tutorial or resource to learn CSS Animation please ?

Does CSS animation work alone without JavaScript or Jquery involved ?

DaveLEWIS

DaveLEWIS avatar Sep 19 '12 15:09 DaveLEWIS

It really depending on what you're trying to do http://www.w3schools.com/css3/css3_animations.asp

cipnt avatar Sep 19 '12 18:09 cipnt

Apple has some good documentation on CSS animation (transitions and keyframes) on their Developer website.

Also, if you end up needing Javascript after all, Zepto.js is a jQuery API-compatible (i.e. is uses the same syntax) library that is much smaller than jQuery because it doesn't support Internet Explorer and other older/inferior browsers.

bewildergeist avatar Oct 05 '12 18:10 bewildergeist

Closing as inactive (and quite possibly solved by now).

Simbul avatar Apr 08 '13 22:04 Simbul