Simulating flipping live tiles in html

无人久伴 提交于 2019-12-04 06:06:41

In the end, it seems that Drew's plug-in does support multiple tile states, he provided a couple of samples. Sample 1 and Sample 2. It seems to do what I need for live tile simulation.

I'm just trying to simulate Live Tiles flipping in Html, and hopefully have it work in all major browsers

I think this is what you need. Flip! http://lab.smashup.it/flip/

You might consider reading this article (below) on how to do flips with CSS3/HTML5 transitions. It's not Javascript (and thus doesn't have an API), but in my experience transition effects seem to be a little more reliable in their smoothness.

Animated Element Wall With CSS

This should be pretty easy. Specifically:

  • Create a DIV with your N tile-sized contents
  • Clip it/size the parent div to 1 tile size
  • Make sure that overflow is hidden.
  • Apply translate's to the previous content & new content using CSS

Then everything should be fine.

Disco Banana

You can use jQuery or jQuery UI to get this effect. jQuery has .animate(), .show(), .hide() and other methods that can help.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!