Hi guys,
I'm taking web design as a minor and currently Im doing my project on this subject .
My idea was about an Educational Website for kids
I'm almost done with the whole website
I just need a lil help with this part of a page:
[IMG]http://up.mrkzy.com/images/images/50ivlmtx9o05htzlwi8.jpg[/IMG]
The idea is to make the kid enter his/her name,grade and the part of language he wants to learn (vocabulary or grammar )
Then when pressing ok , function newwindow() is called , processes the selection and launches a new window
of specified grade and part of language (thats already existing ) , With a text at the top of the new window saying : Welcome,(student name)
I know how to create a function that processes 1 link only
but how should i do that with multiple selections of combobox and radio buttons ?????
this the code i came up with :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title> :::: Mr.Cone Learn and fun ::::</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="default.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body
{
cursor:url("Cursors/bear1.ani");
background-image: url('images/back3.jpg');
background-repeat: repeat-x;
}
</style>
<script type="text/javascript">
<!--
function newwindow(){
window.open( "links/lesson1.html", "myWindow",
"status = 1, height = 300, width = 300, resizable = 0" )
}
//-->
</script>
</head>
<body>
<div id="logostart">
</div>
<form id="namegrade" align="center" method = "post" action = "">
<p><label>Name:
<input name = "name" type = "text" size = "25" />
</label></p>
<p><label>I want to learn:
<input type = "radio" name = "radiobutton" value = "vocab" />
<label>Vocabulary</label>
<input type = "radio" name = "radiobutton" value = "grammar" />
<label>Grammar</label>
</label>
<p>
<label>Grade:
<select name = "Grade">
<option selected = "selected">1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
</label>
</p>
<p>
<input type = "button" value = "Ok!" onclick="newwindow()"/>
<input type = "reset" value = "Clear" />
</p>
</form>
<a href="index.html">
<img src="images/back.gif" width="70" height="70" alt="Press here to go back to the homepage" />
</a>
</body>
</html>
If any one can help me , it would be much appreciated .