உங்கள் வலைத்தளத்திற்கு சரியான நேரம் வேண்டுமா? அல்லது இன்றைய நாள், சூரிய உதயம் நேரம், சூரிய மறைவு நேரம் அல்லது நாளின் நீளம்? கீழுள்ள தெரிவுகளிலிருந்து குறியீட்டை பிரதி செய்யவும்! இது இலவசம்!
There are two widget scripts: A simplified version, t.js, which displays only time, and the main widget script, ta.js, which can display time, date, sunrise time, sunset time and day length. The main widget script is available in several languages. For other languages, replace ta in the script name with the code for the desired language. (For instance pl.js for Polish, or tr.js for Turkish.)
அலகுச் செயல்பாடுகளிற்கான அளவுருக்கள்:
அளவுருக்கள் | சரியான வார்த்தைகள் | இயல்புப்பெறுமதி |
template | TIME, DATE, SUN | TIME |
time_format | hours, minutes, seconds, 12hours, AMPM | hours:minutes:seconds |
date_format | dayname, dname, daynum, dnum, day_in_y, week, monthname, monthnum, mnum, yy, year | year-monthnum-daynum |
sun_format | srhour, srminute, sr12hour, srAMPM, sshour, ssminute, ss12hour, ssAMPM, dlhours, dlminutes | srhour:srminute-sshour:ssminute |
coords | இருப்பிடத்தின் அட்சரேகை மற்றும் தீர்க்கரேகை. சூரியன் முறை மற்றும் நாள் நீளத்தை காண்பிக்க அவசியம். | |
id | சேர்வர் பக்கத்தில் இடம் மற்றும் நேர மண்டலத்தை அடையாளம் காண. இருப்பிடப் பெயril non-ascii எழுத்துக்கள் இருந்தால், மற்றும் நீங்கள் HTML உறுப்பு ஐடி மாற்றினால் தேவைப்படும். | |
callback | The name of a function that will be called every second, with rendered template as parameter. (Optional) |
Parameter names and keywords are case sensitive. You can use HTML and other content in the template, time_format, date_format and sun_format parameters.
பல கடிகாரங்கள் இவ்வாறு உருவாக்கமுடியும்:
UTC time: <span id="UTC_za00"></span><br/> New York sunrise time: <span id="New_York_z161"></span><br/> Tokyo sunrise time: <span id="Tokyo_z444"></span><br/> Find the <a href="https://time.is/" id="time_is_link" rel="nofollow">current time for any location or time zone on Time.is!</a> <script src="//widget.time.is/ta.js"></script> <script> time_is_widget.init({ UTC_za00 : {}, New_York_z161 : { template: "SUN", sun_format: "srhour:srminute", coords: "40.71427,-74.00597" }, Tokyo_z444 : { coords: "59.33258,18.06490" } }); </script>
முடிவுகள்:
The values of the time_format, date_format, sun_format and template parameters are inherited, so you don't need to repeat them if the value is the same as for the previously defined widget.