IT430 VU Assignment No. 2 Spring 2012 Solution

You are a company manager and your company is going to provide online facilities to the distance learning students; you have been assigned to design and develop complete website for your company. This task will be developed stepwise at this step you have been asked to design a page with following requirements. Layout of web page is very simple your page takes system date and time on the top left of the page then in center the particular text containing text i.e. ”WELCOME OUR SERVICES BY YOUR ID AND NAME” will be iterated as Marquee. Next are simple three input fields; first field contains total marks of any term exams or assignment second field contains the secured marks of the student third field contains the marks to which your secured marks are rescaled. Simple example will make you the concept clear if total marks are “20” and one student secured “10” and “Rescale Marks ” are “5” then your designed page will tell the student his/her actual
marks after the rescaling specified marks. Here in this case student will get “2.5” marks. For this calculation you have to write the JAVASCRIPT function on clicking “Secured_Rescaled_Marks” button the calculated marks will be appeared on next page.

<html><head><meta http-equiv=”Content-Type” content=”text/html; charset=ISO-8859-1″><title>
function Secured_Rescaled_Marks(){

<body style=”background-image:url(myimage.png)”>

<table><tr><td color=”blue”>
<script language=”javascript”>
var d = new Date();
</td><td color=”blue”>
<center><marquee behavior=”scroll” direction=”left” bgcolor=”#d6d6d6″>”WELCOME OUR SERVICES BY MCxxxxx Name”</marquee>
<table cellpadding=”3″>
<tbody><tr><td ><b></b><div style=”background-color:blue;width:180px;”><b> Total Marks </b></div></td>
<td><input name=”text” name=”totalmarks” />

<table cellpadding=”3″>
<tbody><tr><td><b></b><div><b> Secured Marks </b></div></td>
<td><input name=”text” name=”securedmarks”>


<table cellpadding=”3″>
<tbody><tr><td><b></b><div><b> Rescale Marks </b></div></td>
<td><input name=”textarea” name=”rescalemarks”>

<input type=”button” onclick=”Secured_Rescaled_Marks();” name=”order” value=”Secured_Rescaled_Marks ?? “>
<input type=”reset” value=”Reset”>