2008-07-12 / WCAN 2008 Summer Ligntning Talks #2

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    2008-07-12 / WCAN 2008 Summer Ligntning Talks #2 - Presentation Transcript

    1.  
    2. 業務のための JavaScript 勉強法? 岩田 享 LLP メガネラボ [email_address]
    3. アジェンダ
      • 自己紹介
      • 本題
      • サンプル
      • まとめ
    4. 自己紹介
    5. 自己紹介
      • 岩田 享 / issm 【いわた】
      • LLP メガネラボ
      • Perl とか JavaScript とか
      • http://blog.iwa-ya.net/
    6. 本題
    7. 本題 業務のための JavaScript 勉強法?
    8. 本題 わかりません ><
    9. 本題 ... ということで個人的見解
    10. 本題 JavaScript HTML+DOM CSS
    11. サンプル
    12. サンプル アニメーション PNG (透過) のようなものを作ってみる
    13. サンプル
      • HTML を記述
      <div id=&quot;anim”></div>
    14. サンプル
      • 連結画像を準備
      #anim { overflow: hidden; background-image: url(animation.png); ... }
    15. サンプル .frame-0 { background-position: 0 0; } .frame-1 { background-position: 0 ...px; } .frame-2 { background-position: 0 ...px; } . . .
      • 各フレームに対応するクラスを定義
    16. サンプル
      • JavaScript を記述
      var anim = document.getElementById('anim') , frame = 0 ; // 200 ミリ秒ごとに frame-1, frame-2, ... // と,クラス名が切り替わっていく setInterval( function() { frame++; anim.className = 'frame-' + frame; ... }, 200 );
    17. サンプル デモ
    18. サンプル
    19. まとめ
    20. まとめ
      • 紛らわしいタイトルをお詫びします
      • JavaScript もいいけど HTML+DOM , CSS もね
      • 画像を準備する方が苦労した
      • http://blog.iwa-ya.net/2008/07/11/064937
    21. もうひとつ ...
    22. もうひとつ ... http://www.nicograph.jp/
    23. もうひとつ ... http://www.54t.org/
    24. よろしければ
    25. ご静聴ありがとうございました
    26.  

    + issmissm, 2 years ago

    custom

    1367 views, 0 favs, 0 embeds more stats

    透過PNGをアニメーションさせる小話. more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1367
      • 1367 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 2
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories