Hiya,
Am v bad at javascript but am trying to use javascript to try to do something on a web page. Any help would be appreciated.
Basically, if I have some HTML code along the lines of
<html>
<head>
<title>1</title>
</head>
<body bgcolor="#FFFFFF">
<table width="90%" border="0" align="center">
<tr>
<td> </td>
<td>link1</td>
</tr>
<tr>
<td>text</td>
<td>link2</td>
</tr>
<tr>
<td> </td>
<td>link3</td>
</tr>
</table>
</body>
</html>
I want to make it so that when someone clicks on "link1" the bit where it says "text" changes to, say, "example1"
And when someone then clicks on "link2", I want "example1" to change to "example2". And so on.
Is this possible using Javascript?
Many thanks
Iain
Am v bad at javascript but am trying to use javascript to try to do something on a web page. Any help would be appreciated.
Basically, if I have some HTML code along the lines of
<html>
<head>
<title>1</title>
</head>
<body bgcolor="#FFFFFF">
<table width="90%" border="0" align="center">
<tr>
<td> </td>
<td>link1</td>
</tr>
<tr>
<td>text</td>
<td>link2</td>
</tr>
<tr>
<td> </td>
<td>link3</td>
</tr>
</table>
</body>
</html>
I want to make it so that when someone clicks on "link1" the bit where it says "text" changes to, say, "example1"
And when someone then clicks on "link2", I want "example1" to change to "example2". And so on.
Is this possible using Javascript?
Many thanks
Iain