The script presented in this page is a
JavaScript Countdown Timer that can start a countdown to a time defined in forms.
It can take a given time for the end of a countdown from form inputs that define the year, month, day, hour, minute and second.
The object can also take the end time from static HTML page elements with identifiers that start with a given prefix.
The object can start the countdown and keep updating page elements that show the remaining time to the end.
When the Countdown Timer reaches to 0, it is executed a certain function defined in script. In that function you can add a code to be executed when countdown timer reaches to 0.
It can be added multiple countdowns for diferent date-times in the same page. More details you can find in the "readme.html" file in the archive with this script.
• To Download this script, click:
Countdown Timer until specified Date-Time.
-
Example Countdown Timer until a specified Date-Time from form.
Years: 0
Months: 0
Days: 0
Hours: 0
Minutes: 0
Seconds: 0
Until: ...
-
Example Countdown Timer until a specified Date-Time defined in page:
Years: 0
Months: 0
Days: 0
Hours: 0
Minutes: 0
Seconds: 0
Until: 12/31/2018
- 18:33:00
Daily Test with Code Example
HTML
CSS
JavaScript
PHP-MySQL
Which tag is used to add definition lists into a <dl> element?
<dt> <dd> <li><dl>
<dt>HTML</dt>
<dd> - Hyper Text Markup Language</dd>
<dd> - Language for web pages</dd>
</dl>
Which CSS property can hide an element on page, letting an empty space in its place?
display position visibility#id {
visibility: hidden;
}
Click on the event which is triggered when the mouse clicks on an object.
onclick onmouseover onfocus document.getElementById("id").onclick = function(){
alert("http://CoursesWeb.net/");
}
Indicate the PHP variable that contains the contents of both $_GET, $_POST, and $_COOKIE arrays.
$_SESSION $_GET $_REQUESTif(isset($_REQUEST["id"])) {
echo $_REQUEST["id"];
}