<html>
<body>
<script language="Javascript">
function Click_Sub(obj) {
if (obj.style.backgroundColor=='#cccccc') {
obj.style.backgroundColor='#ffffff'
} else {
obj.style.backgroundColor='#cccccc'
}
}
</script>
<table border=1 width=100%>
<tr onclick="Click_Sub(this)"><td>テキスト1
<tr onclick="Click_Sub(this)"><td>テキスト2
</table>
</body>
</html>
|