0

I am trying to create this code for my website but i am having trouble per when you click the button for corrosponding with correct image it does not on call take that image and show it as my main one i can not get my img swap to work and have been trying for hours:ooh: and :confused:

<html>
<body bgcolor= "#950606">

<body>
<h3>first try at pic swap</h3>
<form Name= theForm>

<hr>
<table border = 1>
<tr>
<td colspan= 3>
<center>
<img name = imgDisplay
src= "C:\html\images/flamechick.jpg"
height = 100 width = 100>
</center>
</tr>

<tr>
<td><img src= "C:\html/flamechick.jpg"
height = 50 width = 50
name = "imgFlamechick">
</td>
<td><img src= "C:\html/battle.jpg"
height = 50 width = 50
name = "imgBattle">
</td>
<td><img src= "C:\html/meandsnake.jpg"
height = 50 width = 50
name = "imgMeandsnake">
</td>
</tr>
<tr>
<td><input type="button"
value="Flamechick"
onClick= "showFlamechick()">
</td>

<td><input type="button"
value="Battle"
onClick= "showBattle()">
</td>

<td><input type="button"
value="Me and Snake"
onClick= "showMeandsnake()">
</td>

</tr>

</table>
</form>
</body>
</html>

3
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by ~s.o.s~
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.