Admin:Map

From The Scuba Wiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
-
<html xmlns="http://www.w3.org/1999/xhtml">
 
-
<head>
 
-
<title>Hidden Div</title>
 
-
</head>
 
-
 
-
<body>
 
-
<div id="main">This is not hidden.</div>
 
-
 
-
<div id="hidden">This is hidden.</div>
 
-
 
-
</body>
 
-
</html>
 
-
 
-
Ok now I will add some basic style to these boxes.
 
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
-
<html xmlns="http://www.w3.org/1999/xhtml">
 
-
<head>
 
-
<title>Hidden Div</title>
 
-
 
-
<style type="text/css">
 
-
<!--
 
-
#main{
 
-
    width:500px;
 
-
    height: 20px;
 
-
    background: lightblue;
 
-
}
 
-
#hidden {
 
-
    width:300px;
 
-
    height:20px;
 
-
    background: lightgrey;
 
-
}
 
-
-->
 
-
</style>
 
-
 
-
</head>
 
-
 
-
<body>
 
-
<div id="main">This is not hidden.</div>
 
-
 
-
<div id="hidden">This is hidden.</div>
 
-
 
-
</body>
 
-
</html>
 
-
 
-
 
-
 
<html>
<html>
<script language="javascript" type="text/javascript" >
<script language="javascript" type="text/javascript" >
Line 53: Line 6:
if (document.form1.catselector.value != "null") {
if (document.form1.catselector.value != "null") {
-
document.category = "JWS"}
+
document.getElementByID(category).value = "JWS"}
}
}

Revision as of 19:15, 26 January 2010

Category

support the site