I
inonzuk
Hi everyone,
I'm new to javascript and have the following problem:
I have two image buttons:
1)
<td><a href="http://localhost/gamerules.php" target="mainwindow"><img
onMouseOver="return changeRules()" onMouseOut="return
changeRulesBack()" name="b_rules" src="images/b_rules.jpg" width=130
height=90></a></td>
2)
<td><a href="http://localhost/playscreen.php" target="mainwindow"><img
onMouseOver="return changePlay()" onMouseOut="return changePlayBack()"
name="b_play" src="images/b_play.jpg" width=130 height=85></a></td>
I need to do the following: when button 2 is pressed button 1 will
become disabled/unclickable, how do I get this kind of behavior?
thanks in advance for any help
I'm new to javascript and have the following problem:
I have two image buttons:
1)
<td><a href="http://localhost/gamerules.php" target="mainwindow"><img
onMouseOver="return changeRules()" onMouseOut="return
changeRulesBack()" name="b_rules" src="images/b_rules.jpg" width=130
height=90></a></td>
2)
<td><a href="http://localhost/playscreen.php" target="mainwindow"><img
onMouseOver="return changePlay()" onMouseOut="return changePlayBack()"
name="b_play" src="images/b_play.jpg" width=130 height=85></a></td>
I need to do the following: when button 2 is pressed button 1 will
become disabled/unclickable, how do I get this kind of behavior?
thanks in advance for any help