MCSL-016: Internet Concepts and Web Design Solved Assignment

  JHARKHAND BOARD You are here

-----------------------------------------

Index Page (index.html)

------------------------------------------

<html>

<body>

<frameset rows="33%,55%,12%">

<frame src="frame3.html" />

<frameset cols="21%,28%,30%,21%">

<frame src="frame.html" />

<frame src="frame4.html" />

<frame src="vedio.html" />

<frame src="frame5.html">

</frameset>

<frame src="bottom.html" />

<frame src="bottom.html" />

</frameset><noframes></noframes>

</body>

</html>

------------------------------------------------------------

Top frame in index Page (frame3.html)

------------------------------------------------------------

<head>

function mmLoadMenus() {

if (window.mm_menu_0521225715_0) return;

window.mm_menu_0521225715_0 = new Menu("root",120,18,"",12,"#000000","#FFFFFF","#FDFBFA","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);

mm_menu_0521225715_0.addMenuItem("Bollywood&nbsp;","location='intertainment.html'");

mm_menu_0521225715_0.addMenuItem("Hollywood&nbsp;","location='#'");

mm_menu_0521225715_0.hideOnMouseOut=true;

mm_menu_0521225715_0.bgColor='#555555';

mm_menu_0521225715_0.menuBorder=1;

mm_menu_0521225715_0.menuLiteBgColor='#FFFFFF';

mm_menu_0521225715_0.menuBorderBgColor='#999999';

window.mm_menu_0521230314_0 = new Menu("root",83,18,"",12,"#000000","#FFFFFF","#FDFBFA","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);

mm_menu_0521230314_0.addMenuItem("New&nbsp;item","location='#'");

mm_menu_0521230314_0.hideOnMouseOut=true;

mm_menu_0521230314_0.bgColor='#555555';

mm_menu_0521230314_0.menuBorder=1;

mm_menu_0521230314_0.menuLiteBgColor='#FFFFFF';

mm_menu_0521230314_0.menuBorderBgColor='#999999';

mm_menu_0521230314_0.writeMenus();

}

</script>

<script language="JavaScript" src="mm_menu.js" type="text/javascript"></script>

<style>

body

{

margin:0px;

font-family:Arial, Helvetica, sans-serif;

font-size:12px;

color:#333333;

}

td

{

margin:0px;

font-family:Arial, Helvetica, sans-serif;

font-size:12px;

color:#333333;

}

a

{

font-size:12px;

font-family:Arial, Helvetica, sans-serif;

text-decoration:none;

color:#013B74;

}

a:hover

{

font-size:12px;

font-family:Arial, Helvetica, sans-serif;

text-decoration:none;

color:#013B74;

}

.menulink

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

a.menulink

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

a.menulink:hover

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

</style>

</head>

<body>

<script language="JavaScript1.2" type="text/javascript">mmLoadMenus();</script>

<table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td><table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#99CCFF">

<tr>

<td width="250" height="100" align="left"><a href=""></a><img src="image/logo.gif" alt="" width="261" height="89" /></td>

<td align="center">

<table width="65%" border="0" align="right" cellpadding="2" cellspacing="0">

<form  method="post" action="" >

<tr>

<td align="right" valign="bottom" class="graybold">User Name:

<input name="username" type="text" size="15" />

&nbsp;Password:&nbsp;

<input name="password" type="password" size="15" />                        </td>

<td width="50" align="left" valign="bottom" class="graybold"><input type="image" src="image/go_butt.gif" style="width:39;height:21;border:0px;" align="absmiddle" value="Login"  alt="Go" /></td>

</tr>

<tr>

<td align="left" class="padding_bottom" style="padding-left:80px;"><a href="registration.html" class="greysmall_text" title="New User? Sign Up Here">New User? Sign Up Here </a>   &nbsp;| &nbsp; <a href="card_validation.html" class="red_text2" title="What it is free">Card Validation</a></td>

<td align="left" class="padding_bottom" style="padding-left:110px;">&nbsp;</td>

</tr>

</form>

</table>            </td>

</tr>

</table></td>

</tr>

<tr>

<td><table width="100%" border="0" cellspacing="2" cellpadding="0">

<tr>

<td align="center" bgcolor="#0066CC"><a href="frame3.html" class="menulink">Home</a></td>

<td height="30" align="center" bgcolor="#0066CC"><a href="#" name="link3" id="link1" onmouseover="MM_showMenu(window.mm_menu_0521225715_0,0,23,null,'link3')" onmouseout="MM_startTimeout();" class="menulink">Entertainment</a></td>

<td align="center" bgcolor="#0066CC"><a href="#" name="link2" id="link2" onmouseover="MM_showMenu(window.mm_menu_0521230314_0,0,23,null,'link2')" onmouseout="MM_startTimeout();" class="menulink">News</a></td>

<td align="center" bgcolor="#0066CC"><a href="#" class="menulink">Sports</a></td>

<td align="center" bgcolor="#0066CC"><a href="#" class="menulink">Lifestyle</a></td>

<td align="center" bgcolor="#0066CC"><a href="#" class="menulink">Jobs</a></td>

<td align="center" bgcolor="#0066CC"><a href="#" class="menulink">Travel</a></td>

</tr>

</table></td>

</tr>

<tr>

<td>&nbsp;</td>

</tr>

<tr>

<td align="center"><B>Date:</B>

<script type="text/javascript">

var dat=new Date()

var weekday=new Array("Sunday","Monday","Tuesday", "Wednesday","Thursday","Friday","Saturday")

var monthname=new Array("Jan","Feb","Mar","Apr","May","Jun", "Jul","Aug","Sep","Oct","Nov","Dec")

document.write(weekday[dat.getDay()] + " ")

document.write(monthname[dat.getMonth()] + " ")

document.write(dat.getDate() + ", ")

document.write(dat.getFullYear())

</script>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<input type="text" name="search" style="width:300px;">&nbsp;&nbsp;&nbsp;<input type="submit" name="Advance Search" value="Advance Search" style="width:110px;"></td>

</tr>

</table>

----------------------------------------------------------------

Middle frame left side (frame.html)

----------------------------------------------------------------

<html>

<head>

<style>

body

{

margin:0px;

font-family:Arial, Helvetica, sans-serif;

font-size:12px;

color:#333333;

}

.td

{

margin:0px;

font-family:Arial, Helvetica, sans-serif;

font-size:12px;

color:#ffffff;

background-color:#6666FF;

}

a

{

font-size:12px;

font-family:Arial, Helvetica, sans-serif;

text-decoration:none;

color:#013B74;

}

a:hover

{

font-size:12px;

font-family:Arial, Helvetica, sans-serif;

text-decoration:none;

color:#6666FF;

}

.menulink

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

a.menulink

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

a.menulink:hover

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

</style>

</head>

<body>

<table border="0" width="200px">

<tr>

<td class="td" align="center"><B>News & Business & Sports</B></td>

</tr>

<tr>

<td>

<table border="0" width="200px">

<tr>

<td><a href="#">Premji takes pay cut, hike for Wipro execs</a></td>

</tr>

<tr>

<td><a href="#">Economy may getover slowdown late this year: RBI Governor</a></td>

</tr>

<tr>

<td><a href="#">Govt considering Rs 10,000 cr package for shipping</a></td>

</tr>

<tr>

<td><a href="#">Premji takes pay cut, but hike for other Wipro top execs</a></td>

</tr>

<tr>

<td><a href="#">ICC, BCCI should stop treating us like beggars: Butt</a></td>

</tr>

<tr>

<td><a href="#">Nadal eyes 5th French Open title, Federer eyes 1st</a></td>

</tr>

</table>

</td>

</tr>

</table>

</body>

</html>

----------------------------------------------------------------

Middle frame (frame4.html)

----------------------------------------------------------------

<html>

<head>

<style>

body

{

margin:0px;

font-family:Arial, Helvetica, sans-serif;

font-size:12px;

color:#333333;

}

.td

{

margin:0px;

font-family:Arial, Helvetica, sans-serif;

font-size:12px;

color:#ffffff;

background-color:#6666FF;

}

a

{

font-size:12px;

font-family:Arial, Helvetica, sans-serif;

text-decoration:none;

color:#013B74;

}

a:hover

{

font-size:12px;

font-family:Arial, Helvetica, sans-serif;

text-decoration:none;

color:#6666FF;

}

.menulink

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

a.menulink

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

a.menulink:hover

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

</style>

</head>

<body>

<table border="0" width="300px">

<tr>

<td class="td" align="center"><B>Corrent News</B></td>

</tr>

<tr>

<td>

<table border="0" width="100%">

<tr>

<td>

<table border="0" width="100%">

<tr>

<td><img src="image/picture1.jpg"></td>

<td><B>Alerts on Govt formation</B><br/>With the issue of portfolio allocation for DMK yet to be sorted out, Prime Minister Manmohan Singh will be sworn in on Friday along with 19 Cabinet ranked ministers.  <a href="#">More..</a></td>

</tr>

</table>

</td>

</tr>

<tr>

<td>*<a href="#">Economy may getover slowdown late this year: RBI Governor</a></td>

</tr>

<tr>

<td>*<a href="#">Govt considering Rs 10,000 cr package for shipping</a></td>

</tr>

<tr>

<td>*<a href="#">Premji takes pay cut, but hike for other Wipro top execs</a></td>

</tr>

<tr>

<td>*<a href="#">ICC, BCCI should stop treating us like beggars: Butt</a></td>

</tr>

<tr>

<td>*<a href="#">Nadal eyes 5th French Open title, Federer eyes 1st</a></td>

</tr>

</table>

</td>

</tr>

</table>

</body>

</html>

----------------------------------------------------------------

Middle frame (vedio.html)

----------------------------------------------------------------

<HTML>

<BODY>

<TABLE>

<TR>

<TD><img src="image/vedio.jpg"></TD>

</TR>

</TABLE>

</BODY>

</HTML>

----------------------------------------------------------------

Middle frame right side (frame5.html)

----------------------------------------------------------------

<html>

<head>

<style>

body

{

margin:0px;

font-family:Arial, Helvetica, sans-serif;

font-size:12px;

color:#333333;

}

.td

{

margin:0px;

font-family:Arial, Helvetica, sans-serif;

font-size:12px;

color:#ffffff;

background-color:#6666FF;

}

a

{

font-size:12px;

font-family:Arial, Helvetica, sans-serif;

text-decoration:none;

color:#013B74;

}

a:hover

{

font-size:12px;

font-family:Arial, Helvetica, sans-serif;

text-decoration:none;

color:#6666FF;

}

.menulink

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

a.menulink

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

a.menulink:hover

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

</style>

</head>

<body>

<table border="0" width="200px" >

<tr>

<td class="td" align="center"><B>Entertainment & Jobs</B></td>

</tr>

<tr>

<td >

<table border="0" width="200px">

<tr>

<td >

<marquee  behavior="scroll" direction="up" scrolldelay="200" onmouseover="this.stop();" onmouseout="this.start();" style="height:130px">

<a href="intertainment.html">Aamir to star with Kate Winslet?</a><br/><br/>

<a href="#">Greatest of IIFA performances </a><br/><br/>

<a href="#">Forgotten Hotties: Ramya Krishnan</a><br/><br/>

<a href="#">'Kandhaswamy' audio launch  </a><br/><br/>

<a href="#">Siren of the Week: Payal Rohatgi </a><br/><br/>

<a href="#">Neil at True Fitness Gym </a><br/><br/>

<a href="#">Naghma on 'Sach Sach Kehta ... </a><br/><br/>

</marquee>

</tr>

</table>

</td>

</tr>

</table>

<table border="0" width="200px"  bgcolor="#99FFFF" style="margin-top:0px">

<tr>

<td class="td" align="center"><B>WEATHER</B></td>

</tr>

<tr>

<td>

<table border="0" width="200px">

<tr>

<td>Weather</td>

<td>MaxoC</td>

<td>MinoC</td>

</tr>

<tr>

<td>Chennai</td>

<td>36</td>

<td>28</td>

</tr>

<tr>

<td>Kolkata</td>

<td>38</td>

<td>27</td>

</tr>

<tr>

<td>Mumbai</td>

<td>34</td>

<td>28</td>

</tr>

<tr>

<td>New Delhi</td>

<td>49</td>

<td>31</td>

</tr>

</table>

</td>

</tr>

</table>

</body>

</html>

----------------------------------------------------------------

Middle frame (bottom.html)

----------------------------------------------------------------

<HTML>

<HEAD>

<style>

body

{

margin:0px;

font-family:Arial, Helvetica, sans-serif;

font-size:12px;

color:#333333;

}

.td

{

margin:0px;

font-family:Arial, Helvetica, sans-serif;

font-size:12px;

color:#ffffff;

background-color:#6666FF;

}

a

{

font-size:12px;

font-family:Arial, Helvetica, sans-serif;

text-decoration:none;

color:#013B74;

}

a:hover

{

font-size:12px;

font-family:Arial, Helvetica, sans-serif;

text-decoration:none;

color:#6666FF;

}

.menulink

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

a.menulink

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

a.menulink:hover

{

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:12px;

color:#FFFFFF;

text-decoration:none;

font-weight:bold;

}

</style>

</HEAD>

<BODY>

<TABLE>

<TR>

<TD><A HREF="intertainment.html">Aamir to star with Kate Winslet?</A></TD>

<TD><A HREF="">Greatest of IIFA performances</A></TD>

<TD><A HREF="">Nadal eyes 5th French Open title, Federer eyes 1st</A></TD>

</TR>

<TR>

<TD><A HREF="">Premji takes pay cut, hike for Wipro execs</A></TD>

<TD><A HREF="">Economy may getover slowdown late this year: RBI Governor</A></TD>

</TR>

</TABLE>

</BODY>

</HTML>

----------------------------------------------------------------

Middle frame (ragistration.html)

----------------------------------------------------------------

<HTML>

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

function validate(){

if(document.getElementById('username').value=="" || document.getElementById('username').value==null){

alert("Please select username");

document.getElementById('username').focus();

return false;

}

if(document.getElementById('email').value=="" ){

alert('Please select email');

document.getElementById('email').focus();

return false;

}

if(document.getElementById('con_password').value=="" ){

alert('Please enter confirm password');

document.getElementById('con_password').focus();

return false;

}

if(document.getElementById('password').value==""){

alert('Please select password');

document.getElementById('password').focus();

return false;

}

}

</SCRIPT>

</HEAD>

<BODY>

<TABLE width="100%" border="0" cellspacing="2" cellpadding="5">

<form action="" method="post">

<TR>

<TD align="right">Username</TD>

<TD>:</TD>

<TD><input name="username" id="username" type="text" size="15" /></TD>

</TR>

<TR>

<TD align="right">Password</TD>

<TD>:</TD>

<TD><input name="password" id="password" type="text" size="15" /></TD>

</TR>

<TR>

<TD align="right">Confirm Password</TD>

<TD>:</TD>

<TD><input name="con_password" id="con_password" type="text" size="15" /></TD>

</TR>

<TR>

<TD align="right">Email</TD>

<TD>:</TD>

<TD><input name="email" id="email" type="text" size="15" /></TD>

</TR>

<TR>

<TD colspan="3" align="center"><input name="submit" type="submit" value="Submit" size="15" onclick="return validate()"/>&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="frame3.html">Back >></A></TD>

</TR>

</form>

</TABLE>

</BODY>

</HTML>

----------------------------------------------------------------

Middle frame (card_validation.html)

----------------------------------------------------------------

<HTML>

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

function validate(){

if(document.getElementById('creditnumber').value=="" || document.getElementById('creditnumber').value==null){

alert("Please Enter Your Credit Card Number");

document.getElementById('creditnumber').focus();

return false;

}

if(document.getElementById('creditnumber').value.length=="18" && document.getElementById('credittype').value=="American Express"){

alert("Your Payment Has Been Successfully received");

document.getElementById('creditnumber').focus();

return false;

}

if(document.getElementById('creditnumber').value.length=="17" && document.getElementById('credittype').value=="Carte Blanche"){

alert("Your Payment Has Been Successfully received");

document.getElementById('creditnumber').focus();

return false;

}

if(document.getElementById('creditnumber').value.length=="19" && document.getElementById('credittype').value=="Discover"){

alert("Your Payment Has Been Successfully received");

document.getElementById('creditnumber').focus();

return false;

}if(document.getElementById('creditnumber').value.length=="17" && document.getElementById('credittype').value=="Diner's Club"){

alert("Your Payment Has Been Successfully received");

document.getElementById('creditnumber').focus();

return false;

}

if(document.getElementById('creditnumber').value.length=="18" && document.getElementById('credittype').value=="enRoute"){

alert("Your Payment Has Been Successfully received");

document.getElementById('creditnumber').focus();

return false;

}

if(document.getElementById('creditnumber').value.length=="19" && document.getElementById('credittype').value=="JCB"){

alert("Your Payment Has Been Successfully received");

document.getElementById('creditnumber').focus();

return false;

}

if(document.getElementById('creditnumber').value.length=="19" && document.getElementById('credittype').value=="MasterCard"){

alert("Your Payment Has Been Successfully received");

document.getElementById('creditnumber').focus();

return false;

}

if(document.getElementById('creditnumber').value.length=="19" && document.getElementById('credittype').value=="Solo"){

alert("Your Payment Has Been Successfully received");

document.getElementById('creditnumber').focus();

return false;

}

if(document.getElementById('creditnumber').value.length=="19" & document.getElementById('credittype').value=="Switch"){

alert("Your Payment Has Been Successfully received");

document.getElementById('creditnumber').focus();

return false;

}if(document.getElementById('creditnumber').value.length=="19" & document.getElementById('credittype').value=="Visa"){

alert("Your Payment Has Been Successfully received");

document.getElementById('creditnumber').focus();

return false;

}

if(document.getElementById('creditnumber').value!=""){

alert("Credit card number has invalid format");

document.getElementById('creditnumber').focus();

return false;

}

}

</SCRIPT>

</HEAD>

<BODY>

<table cellspacing="2" cellpadding="2" width="762" align="center">

<tr>

<td align="center">

<form action="process.php" method="post">

<table cellspacing="2" cellpadding="2" width="100%" align="center">

<tr>

<td align="center">

<table cellspacing="2" cellpadding="2" width="60%" align="center">

<tr>

<td align="left">

Choose Your Payment Type: &nbsp;

</td>

<td align="center">

<select name="credittype" id="credittype">

<option value="American Express">American Express</option>

<option va>Carte Blanche</option>

<option>Discover</option>

<option>Diner's Club</option>

<option>enRoute</option>

<option>JCB</option>

<option>MasterCard</option>

<option>Solo</option>

<option>Switch</option>

<option>Visa</option>

<script>

</script>

</select>

</td>

</tr>

<tr>

<td align="left">

Enter Your Credit Card Number: &nbsp;

</td>

<td align="center">

<input type="text" name="creditnumber" id="creditnumber">

</td>

</tr>

</table>

</td>

</tr>

<tr>

<td align="center"><input type="submit" name="payment" value="Payment" onclick="return validate()"></td>

</tr>

<tr>

<td align="center"><A HREF="frame3.html">Back >></A></td>

</tr>

</table>

</form>

</td>

</tr>

</table>

</BODY>

</HTML>

Assignment Index

Download attached js file



  « CET (Common Entrance Test) Karnataka Results 2009 Combined Entrance Test (CAT) – 2009 »  

  Posted on Monday, May 25th, 2009 at 12:54 PM under   JHARKHAND BOARD | RSS 2.0 Feed