Javascript Periodic Table of the Elements

Two steps to make the periodic system of elements with javascript
Source Code 
  1. Paste this source code into the designated areas.
    Paste this code into an external JavaScript file named: ch3mistry.js
    <script language="javascript">
    <!--
    function prepare()
    {
    window.setTimeout("window.status='#'",500);
    }
    
    function moveover(txt)
    {
    window.status = txt;
    }
    
    function fillitin(Name, gol, per,  AtomicNumber,AtomicWeight, Shells, FillingOrbital, MeltingPoint, BoilingPoint)
    {
    moveover(Name);
    document.PeriodicTable.Name.value=Name;
    document.PeriodicTable.gol.value=gol;
    document.PeriodicTable.per.value=per;
    document.PeriodicTable.AtomicNumber.value=AtomicNumber;
    document.PeriodicTable.AtomicWeight.value=AtomicWeight;
    document.PeriodicTable.Shells.value=Shells;
    document.PeriodicTable.FillingOrbital.value=FillingOrbital;
    document.PeriodicTable.MeltingPoint.value=MeltingPoint;
    document.PeriodicTable.BoilingPoint.value=BoilingPoint;
    
    window.setTimeout("prepare()",3500);
    }
    
    -->
    </script>
    
  2. Paste this source code into the body HTML

0 Response to "Javascript Periodic Table of the Elements"

Posting Komentar