Súbor:Animated clock.svg

Obsah stránky není podporován v jiných jazycích.
z Wikipédie, slobodnej encyklopédie

Pôvodný súbor(Animovaný súbor SVG, nominálne 800 × 800 pixlov, veľkosť súboru: 3 KB)

Pozn.: Z dôvodu technických obmedzení nebudú náhľady tohto súboru animované.

Tento zdieľaný súbor je z Wikimedia Commons a je možné ho používať na iných projektoch. Nižšie sú zobrazené informácie z popisnej stránky súboru.

Tento obrázek je animovaný SVG soubor. Výše zobrazený náhled ve formátu .png, vytvořený programem RSVG, animovaný není a může být tedy neúplný nebo nesprávný. Chcete-li animaci vidět, otevřete si Media:Animated clock.svg. Měla by fungovat v jakémkoli moderním prohlížeči. Soubory SVG animované pomocí jazyka SMIL podporují aktuální verze Chrome, Firefoxu, Microsoft Edge, Safari i Opery. Další SVG animace naleznete v kategorii 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 | ไทย | українська | 中文 | 中文(简体)‎ | 中文(繁體)‎ | +/−

Zhrnutie

Popis
English: Animated clock.
Dátum
Zdroj Vlastné dielo
Autor Grufo
Ďalšie verzie
SVG vývoj
InfoField
 
Zdrojový kód tohoto SVG je validní.
 
Toto je upravený obrázek, což znamená, že byl oproti původní verzi digitálně změněn. Úpravy: {{{1}}}. Původní verzi je možné zhlédnout zde: Station Clock.svg.

Licencovanie

Ja, držiteľ autorských práv k tomuto dielu ho týmto zverejňujem za podmienok nasledovnej licencie:
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.

Štítky

Pridajte jednoriadkové vysvetlenie, čo tento súbor predstavuje

Položky prezentované týmto súborom

motív

image/svg+xml

c40635232b86747568283381508ccb4110fccad3

metoda určení čeština: SHA-1 čeština

objem dat čeština

2 935 bajt

800 obrazový prvok

šířka čeština

800 obrazový prvok

10. október 2023

História súboru

Po kliknutí na dátum/čas uvidíte ako súbor vyzeral vtedy.

Dátum/ČasNáhľadRozmeryPoužívateľKomentár
aktuálna01:47, 2. február 2024Náhľad verzie z 01:47, 2. február 2024800 × 800 (3 KB)GrufoSymmetry
05:40, 10. október 2023Náhľad verzie z 05:40, 10. október 2023800 × 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...

Žiadne stránky neobsahujú odkazy na tento súbor.

Metadáta