HTML onClick attribute?

pookie

New member
I want to make the buttons works as a navigator for users to go to certain banner



<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Marquee Text</title>
<style type="text/css">
#scr1 div {
visibility:hidden;
}
#scr1, #scr1 div.default {
width:1000px;
height:200px;
overflow:hidden;
visibility:visible;
}
#scr1 table tr td div {
visibility:visible;
}

#scr1 {
background-color:#fff;
font-size: 16px;
}

</style>
<script type="text/javascript" src="blockFader.js"></script>

</head>

<body>

<div id="scr1">
<div class="default" id="table1">
<table width="1000" border="0" cellspacing="0" cellpadding="0" style="background-image: url(images/1.jpg); background-repeat:no-repeat; background-position:center" height="200px">
<tr>
<td height="58" style="text-align:right"><blockquote>
<h1 style="font-weight:normal">This is the 1st banner</h1>
</blockquote></td>
</tr>
</table>
</div>
<div id="table2"><table width="1000" border="0" cellspacing="0" cellpadding="0" style="background-image: url(images/2.jpg); background-repeat:no-repeat; background-position:center" height="200px">
<tr>
<td height="58" style="text-align:right"><blockquote>
<h1 style="font-weight:normal">This is the 2nd banner</h1>
</blockquote></td>
</tr>
</table></div>
<div id="table3" ><table width="1000" border="0" cellspacing="0" cellpadding="0" style="background-image: url(images/3.jpg); background-repeat:no-repeat; background-position:center" height="200px">
<tr>
<td height="58" style="text-align:right"><blockquote>
<h1 style="font-weight:normal">This is the 3rd banner</h1>
</blockquote></td>
</tr>
</table></div>
</div>
<input type="button" id="1" value="1" onclick=""/>
<input type="button" id="2" value="2" onclick=""/>
<input type="button" id="3" value="3" onclick=""/>

</body>
</html>
 
Back
Top