Not javascript, it looks like a cut and paste typo.
Get rid of this (highlighted):
Code:
. . . heet" type="text/css" media="screen" href="navbar.css" />
<link rel="stylesheet" type="text/css" media="screen" href="navbar2.css" />
<style type="text/css">
<!--
#wrapper {
width: 950px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
font-family: Arial, Helv . . .
Add this (highlighted):
Code:
. . . tion1 { display:block;
color:#e60e63;
text-decoration:none;
font-size:12px;
outline:0;
cursor:pointer;
cursor:hand;
}
</style>
</head>
<body>
<div id="wrapper"><img alt="" width="728" hei . . .
Get rid of this (highlighted):
Code:
. . . d="email">
<form id="email" method="post" name="email" action="email.php">Sign up for our Email updates! <input style="background-color: #e7e7e7" size="30" name="email" /> <input value="Submit" type="submit" name="submit" /> </form></div>
<div class="copyrightdiv">Copyright © 2011 Some_Site.com. All rights reserved. </div></div></div></div></div></div>
</style>
<script type="text/javascript">
var currentAnswer = null;
function displayAnswer(ans) {
var v = document.getElementById(ans);
if (currentAnswer)
currentAnswer.style.display = "none";
currentAnswer = v;
currentAnswer.style.display = "block";
}
</script>
</body>
</html>
Bookmarks