YamPiz Servies
       
       
      Share
       
      Blog /

      JScript 備忘錄

      Previous
      Next
      Context
      JScript 備忘錄
      物體旋轉動畫
      1. /* 原始程式碼 */
      2. var div = document.getElementById('box');
      3. var property = getTransformProperty(box);
      4. if (property) {
      5. var d = 0;
      6. setInterval(
      7. function () {
      8. div.style[property] = 'rotate(' + (d++ % 360) + 'deg)';
      9. },100);
      10. }
      • This is a declared original article, to respect the copyright, please do not repost this article without the consent of the author.
      • Keywords : property(3), 原始程式碼(1), style(1), setInterval(1), rotate(1), getElementById(1), function(1), document(1)
      00
      2012-05-11T17:47:00+0000

      Comment
       
      Verify

      Blog Directory

      • 魚戀秋波 Neil Y.K.'s Blog
        • 心情‧日記
        • Creation
        • My Jobs
          • 黑族
          • 接案工程
          • 電腦維修
          • 商業美工
          • 備忘錄
            • Windows 7 免重裝切換 AHCI 模式
            • CentOS 筆記
            • Win7 備忘錄
            • 清除系統垃圾
            • Mysql 備忘錄
            • CSS 陰影效果
            • JScript 備忘錄
            • CSS 設計備忘錄
            • PHP 程式備忘錄
            • Linux shell 筆記
            • Apache 架設備忘錄
            • CSS Selector 種類簡介
        • Misc DIY
        • Stray notes
        • 玩樂情報
        • 生活話題
        • 經方中醫
        • Unclass

      Blog List

      QR-Code and APP Launcher

      User Guide
      This Webpage

      In those service tabs, "Scan QRCode, in mobile device" or "Click the button, in this device" to open webpage or APP-related operations.
      QRCode

      Visitors

      • Visitors : 8,605,451
      • Hits : 8,790,154
      • Depth : 102.1 %
      • YamPiz Hero Blog
        This service architecture and content service provider.
      • Auto Platform
        For better browsing experience, it will auto detects your device to display webpage.
      • Bug Report
        Tell us about the idea, problem and errors you found.
      • Comodo Secure
        The sensitive data transmission adopts by SSL-2048 authenticated encryption.
      • Copyright
        © 2009 YamPiz Digital Inc. & Jaby Group. All rights reserved.
      • Revised Version
        V2.2.373
        17 Jun 2025 (GMT+8)