Show HN: Ramjet.js – Morph DOM elements into each other
11–20 of 37 posts
Re: Show HN: Ramjet.js – Morph DOM elements into each other
#12Re: Show HN: Ramjet.js – Morph DOM elements into each other
#13By using position: fixed they bork themselves if the user scrolls during an animation. (Easily verified by scrolling while watching the demo.) This seems fixable (no pun intended) by not using position: fixed unless the start and end elements are themselves position: fixed (and possibly doing something clever if one is and the other isn't, such as capturing scroll events and updating the end-point coordinates).
Re: Show HN: Ramjet.js – Morph DOM elements into each other
#14By using position: fixed they bork themselves if the user scrolls during an animation. (Easily verified by scrolling while watching the demo.) This seems fixable (no pun intended) by not using position: fixed unless the start and end elements are themselves position: fixed (and possibly doing something clever if one is and the other isn't, such as capturing scroll events and updating the end-point coordinates).
What browser are you using? I can scroll during animation in Firefox and Chrome on my Mac without any adverse effects to the animation
Re: Show HN: Ramjet.js – Morph DOM elements into each other
#15Re: Show HN: Ramjet.js – Morph DOM elements into each other
#16By using position: fixed they bork themselves if the user scrolls during an animation. (Easily verified by scrolling while watching the demo.) This seems fixable (no pun intended) by not using position: fixed unless the start and end elements are themselves position: fixed (and possibly doing something clever if one is and the other isn't, such as capturing scroll events and updating the end-point coordinates).
Re: Show HN: Ramjet.js – Morph DOM elements into each other
#17http://www.google.de/design/spec/animation/meaningful-transi...
Re: Show HN: Ramjet.js – Morph DOM elements into each other
#18Awesome stuff. I would advise you to prominently display information about what all browsers it supports.
Re: Show HN: Ramjet.js – Morph DOM elements into each other
#19Very cool, I could definitely see this being used to create some interesting games. Does it scale well when using a lot of elements? Can you get a bunch moving at once without too much performance hit? Anyway, regardless of the above, looks awesome on your demo page.