简体   繁体   中英

How to make animated header to show in mobile phones and tablets?

I have a problem with the view on mobile phone and tablets, i want the banner to show animation in mobile phones, i know that flash won't work for that for sure, so what alternative is there to make this possible, and maybe long so i think GIF also won't work.

any ideas?

Thanks all in advance!

You can animate a banner using normal UIImageView animation methods, cocos2d or HTML5. You can also use CoreAnimation. If you want to understand how to animate it, do add some details to the question.

Another great option for mobile and desktop alike is the WOW slider, which is a jquery plugin you can add to a page pretty simply:

http://wowslider.com/

If you have a specific question on how to implement a slideshow, post back for more help.

使用ImageView并将gif文件拆分为几个部分,然后对其应用动画或参考该文件

Through the use of the jQuery framework, you should be able to google and find various plug-ins that can help animate your header, even on mobile devices. If you learn the jQuery API , you can also animate most HTML element blocks on both desktop and mobile device platforms.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM