JavaScript

  • Submitted by: 
    In this tutorial, I am going to teach you how to create a simple html5 game using javascript. Just follow the instructions below and download the source code. INSTRUCTIONS Creating our index.php <!DOCTYPE html> < html > < head > < meta name = "viewport" content = "width=device-width, initial-scale=1.0" / > < style > canvas { border:1px solid #d3d3d3; background-color...
  • Submitted by: 
    In this tutorial we are going to learn how to display a greetings message according to the time of the day. Here's the little javascript code that will display the messages. Copy the code and paste it to your body section. You change the messages below to what you want. <script> var Digital=new Date() var hours=Digital.getHours() if (hours>=5&&hours<=11) //GREETING MESSAGE FOR...
  • Submitted by: 
    In this tutorial I am going to teach how on to create a digital clock that you can use in your systems or project. Just download the source code below for basis. and follow the instructions. DIRECTIONS INCLUDE THIS LINK IN YOUR HEAD TAG <script type="text/javascript" src="<a href="http://code.jquery.com/jquery-1.6.4.min.js"></script><link" rel="nofollow">http://code.jquery...
  • Submitted by: 
    This project will help you to easily monitor activities or projects by using this angular-gantt chart. This gantt chart has many options or features so you can easily manage the projects and tasks. Read the documentation here and here's for the demo application.
  • Submitted by: 
    In this project we are going to learn how to create tic-tac-toe game in javascript. This will entertain you and your visitors from your website. Here's the complete javascript code for this game. Have Fun! <!DOCTYPE html> <html> <head> <title>TIC TAC TOE GAME</title> </head> <body> <script> if (document.all||document.getElementById){ document.write...
  • Submitted by: 
    In this project we are going to learn how to disable copy and paste. You can't prevent stealing your content but you can make it more difficult for people to copy the contents of your website. Here's a script that will disable Copy and Paste. <script> //disable mouse drag select start document.onselectstart = new Function('return false'); function dMDown(e) { return false; } function...
  • Submitted by: 
    In this project we are going to learn on how to disable characters in input field using javascript. The only allowed characters in this project are "01234567890.". If you want to enable or change some characters find this code // var validList = "0123456789."; for character restriction. <!DOCTYPE html> <html> <head> <title>Input Characters Restriction</title> <...
  • Submitted by: 
    In this tutorial, we are going to learn how to the image into the box using javascript. This is a simple project that you can use in your website or system. DIRECTIONS HTML CODE < div id = "container" > < p > Drag Image into the squares using HTML5 < / p > < div id = "left" > < div id = "div1" ondrop = "drop(event)" ondragover = "allowDrop(event)" >< / div >...
  • Submitted by: 
    An application made base from a tutorial about creating games using a javascript framework named enchant.js. An arcade type space shooting game.
  • Submitted by: 
    A simple web browser based calculator application using javascript, html and css. Performs basic operations addition, subtraction, multiplication and division.

Pages