跳至內容

File:Animated clock.svg

頁面內容不支援其他語言。
這個檔案來自維基共享資源
維基百科,自由的百科全書
    原始檔案 (SVG 動畫檔案,表面大小:800 × 800 像素,檔案大小:3 KB)
    注意:由於技術限制,此檔案縮圖無動畫效果。


    本圖像是一個SVG動畫。本動畫使用SMIL語言。RSVG建立的,用於維基媒體網站的.png預覽圖像不能顯示動畫,而且圖像可能會殘缺不全或出現錯誤。要看到動畫,請開啟media:Animated clock.svg。這應該在現代瀏覽器或閱覽器中工作。最新版本的Chrome、Firefox、Microsoft Edge、Safari及Opera均支援基於SMIL的SVG動畫。 其他SVG動畫檔案可在Category:Animated SVG files找到。

    Templates:Animated SVG/I18n
    العربية ∙ Boarisch ∙ বাংলা ∙ català ∙ čeština ∙ Deutsch ∙ Deutsch (Sie-Form) ∙ English ∙ español ∙ فارسی ∙ suomi ∙ français ∙ galego ∙ עברית ∙ हिन्दी ∙ magyar ∙ հայերեն ∙ íslenska ∙ italiano ∙ 日本語 ∙ 한국어 ∙ lietuvių ∙ македонски ∙ മലയാളം ∙ Plattdüütsch ∙ Nederlands ∙ occitan ∙ português ∙ português do Brasil ∙ русский ∙ sicilianu ∙ slovenščina ∙ svenska ∙ தமிழ் ∙ ไทย ∙ українська ∙ 中文 ∙ 中文(简体) ∙ 中文(繁體) ∙ +/−

    Animation preview

    Animated clock

    摘要

    描述
    English: Animated clock.
    日期
    來源 自己的作品
    作者 Grufo
    其他版本
    SVG開發
    InfoField
     本SVG檔案的原始碼通過W3C驗證。
     本向量圖形使用文字編輯器創作。
    這是一張修飾過的圖片,即本圖片是用軟體修改過後的版本。原版圖片來源:​Station Clock.svg。

    授權條款

    我,本作品的著作權持有者,決定用以下授權條款發佈本作品:
    GNU head This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or any later version. This work is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

    Synchronizing the clock with the current time

    It is possible to synchronize the animation with the current local time by adding the following code at the end of the SVG file (before the final </svg> tag):

    <script>
    	var oDate = new Date(), nHours = oDate.getHours() % 12, nMinutes = oDate.getMinutes(), nSeconds = oDate.getSeconds();
    
    	document.querySelector('.clock-second-hand').setAttribute('transform', 'rotate(' + (nSeconds * 6) + ', 400, 400)');
    	document.querySelector('.clock-minute-hand').setAttribute('transform', 'rotate(' + (nMinutes * 6 + nSeconds / 10) + ', 400, 400)');
    	document.querySelector('.clock-hour-hand').setAttribute('transform', 'rotate(' + (nHours * 30 + nMinutes / 2 + nSeconds / 120) + ', 400, 400)');
    </script>
    

    Currently Wikimedia Commons does not allow SVG files that contain scripts.

    說明

    添加單行說明來描述出檔案所代表的內容

    在此檔案描寫的項目

    描繪內容

    創作作者 中文 (香港) (已轉換拼寫)

    沒有維基數據項目的某些值

    作者姓名字串 中文 (香港) (已轉換拼寫):Grufo
    維基媒體使用者名稱 繁體中文 (已轉換拼寫):Grufo

    版權狀態 中文 (香港) (已轉換拼寫)

    有版權 中文 (香港) (已轉換拼寫)

    多媒體型式 繁體中文 (已轉換拼寫)

    image/svg+xml

    800 像素

    800 像素

    檔案來源 中文 (臺灣) (已轉換拼寫)

    上傳者的原創作品 繁體中文 (已轉換拼寫)

    資料大小 中文 (香港) (已轉換拼寫)

    2,786 位元組

    校驗和 繁體中文 (已轉換拼寫)

    3503118cb04eb4e2213f91d4cf38ee5c3d284592

    檔案歷史

    點選某个日期/時間檢視對應時刻的檔案。

    日期/時間縮⁠圖大小用戶備⁠註
    目前2024年2月2日 (五) 01:47於 2024年2月2日 (五) 01:47 版本的縮圖800 × 800​(3 KB)GrufoSymmetry
    2023年10月10日 (二) 05:40於 2023年10月10日 (二) 05:40 版本的縮圖800 × 800​(3 KB)Grufo=={{int:filedesc}}== {{Information |description={{en|1=Animated clock.}} |date=2023-10-10 |source={{own}} |author=Grufo |permission= |other versions=<gallery> Station Clock.svg|Static version </gallery> }} =={{int:license-header}}== {{LGPLv3}} == Synchronizing the clock with the current time == It is possible to synchronize the animation with the current local time by adding the following code at the end of the SVG file (before the <code></svg></code> tag at the end of...

    沒有使用此檔案的頁面。

    全域檔案使用狀況

    以下其他wiki使用了這個檔案:

    詮釋資料