Javascript Course

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 HTML5 tag is indicated to be used as container for menu with navigation links in Web site?
<section> <nav> <article>
<nav><ul>
 <li><a href="http://coursesweb.net/css/" title="CSS Course">CSS Course</a></li>
 <li><a href="http://www.marplo.net/jocuri/" title="Flash Games">Flash Games</a></li>
</ul></nav>
Which CSS property shifts an item horizontally to the left or right of where it was?
text-align clear float
.some_class {
  width: 30%;
  float: left;
}
Click on the Math object method which returns x, rounded downwards to the nearest integer.
Math.ceil(x) Math.abs(x) Math.floor(x)
var num = 12.34567;
num = Math.floor(num);
alert(num);       // 12
Indicate the PHP function which returns the number of characters in string.
mb_strlen() count() stristr()
$str = "string with utf-8 chars åèö";
$nrchr = mb_strlen($str);
echo $nrchr;        // 30
Countdown Timer until specified Date-Time

Last accessed pages

  1. Select in MySQL, Output results in HTML Table (19322)
  2. For loops in ActionScript (4456)
  3. CSS cursor property - Custom Cursors (5712)
  4. Multiple Select Dropdown List with JavaScript (13461)
  5. Simple Flash animation, Save, Export (1934)

Popular pages this month

  1. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (206)
  2. Read Excel file data in PHP - PhpExcelReader (74)
  3. The Four Agreements (68)
  4. PHP Unzipper - Extract Zip, Rar Archives (66)
  5. The Mastery of Love (51)
Chat
Chat or leave a message for the other users
Full screenInchide