Pages

27 Apr 2012

It430 2nd assignment solution spring 2012

Solution:

<html>

<head><title>

virtualinspire.com

</title>

</head>



<body>

<script language="javascript" type="text/javascript">

/* 



*/



speed=1000

len=42

tid = 0;



function dodate()

{

f.date.value=new Date();

tid=window.setTimeout("dodate()",speed);

}



function start(x) {

f=x

tid=window.setTimeout("dodate()",speed);

}



function cleartid() {

window.clearTimeout(tid);

}



function Clock()

{

document.write('<FORM name=dateform><input name=date size=')

document.write(len)

document.write(' value="Clock"></FORM>')

start(document.dateform);

}

</script>



<script language="javascript">



// You need a javascript compatible browser to view the following <br>

Clock();

// end javascipt section <br>

</script>



<center><marquee behavior="scroll" direction="left" bgcolor=gray width=300px height=120px><font=arial size=20>virtual inspire 

</font></size></marquee>

</center>



<Table cellpadding="3">

<td><b><div style="background-color:grey;width:200px;"> Total Marks </b></td>

<td><input name="textarea" </td>

</div>

</table>





<Table cellpadding="3">

<td><b><div style="background-color:grey;width:200px;"> Secured Marks </b></td>

<td><input name="textarea" </td>

</div>

</table>



<Table cellpadding="3">

<td><b><div style="background-color:grey;width:200px;"> Rescale Marks </b></td>

<td><input name="textarea" </td>

</div>

</table>

<Td width="150" align="right">. </td>



<TD>

<input type="Submit" name="order" value="Secured_Rescaled_Marks">

<input type="reset" value="Reset">

</td>





</body>

</html>

0 comments:

Post a Comment