Wt

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Wt as PDF for free.

More details

  • Words: 309
  • Pages: 5
DIGITAL: htmldigitalclock <script language="JavaScript"> function start(){window.setInterval("run()",10); }function run(){var d=new Date(); hh=d.getHours();mm=d.getMinutes(); ss=d.getSeconds();h.innerText=hh+":"+mm+":"+ss; }

digital clock

welcome



this is affected by inline css



<style type="text/css"> h1{font-family:sans-serif;color:red; text-align:center;font-size:30pt} p{font-family:sans-serif;font-size:30pt; color:green; text-align:center">

EVENT: scriptS

java script events

  • onblur event handler:

  • onclick event handler:

  • onchange event handler:

  • onDbclick event handler:



  • onfocus event handler:

  • onkeydown event handler:

  • onkeypress event handler:

  • onkeyup event handler:

  • onmousedown event handler:

  • onmousemove event handler: traverse the mouse through this text sure publications

  • onmouseout event handler place the mouse point here javascript programing release here

  • onmouseup event handler

  • onselect event handler:

  • onsubmit event handler:
  • onunload event handler: follow the given link



GRADE: hi <script type="text/javascript"> var htno,name,mm,dm,ns,total,avg,grade,count; count=window.prompt("Enter the number of records u want to enter","0"); c=parseInt(count); document.writeln(""); document.writeln("");document.writeln(""); for(i=1;i<=count;i++){htno=window.prompt("Enter the hallticket number","0"); name=window.prompt("Enter the name"); mm=window.prompt("Enter the marks of multimedia","0"); dm=window.prompt("Enter the marks of data mining","0");

ns=window.prompt("Enter the marks of network security","0"); n1=parseInt(mm);n2=parseInt(dm); n3=parseInt(ns);total=n1+n2+n3; avg=total/3;if(avg>=70){grade="Distinction"; }elseif(avg>=60)

{grade="First division";

elseif(avg>=50){

grade="Second division";

}

}elseif(avg>=40){grade="Third division"; } Else grade="fail";document.writeln("
"); }document.writeln("
serial nohallticketnamemultimediadatamining network securitytotalgrade
"+i+""+htno+ ""+name+""+mm+""+dm+"" +ns+""+total+""+grade+"
"); <marquee direction="left"behaviour="alternate"> !------click refresh to run this script again------!

Related Documents

Wt
May 2020 5
Wt
June 2020 8
Classification Wt
May 2020 12
Wt Record
May 2020 7
Wt Chart
November 2019 11
Parking Agreement Wt&c
October 2019 15