开发者

Comparison of web widgets in flash and javascript

I want to create a photo开发者_运维技巧 browser web widget that can be embedded in a web page (e.g alice's blog) but I am not sure whether I should go the flash or javascript route.

Flickr went with a flash based widget. Why would they do it in flash over javascript?

And conversely, why would you chose js based widget over flash.


Flash

Pros

  1. Better suited for animations and such.
  2. No stupid issues like IE 6 png or CSS issues

Cons

  1. Bad for SEO and usability. Of course you can include everything that is in the Flash as HTML in the page, and read them from Flash.
  2. Apple resists it.

    ...

Javascript

Pros

  1. Less obtrusive and more SEO-friendly.
  2. You don't need to know Flash.

Cons

  1. Generally you can only achieve a small set of animations and effects that would be possible in Flash.
  2. You should check your CSS, HTML, and if you plan to support IE 6 (there are still an unnegligible number of users using it), transparent png's.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜