Posted by WJ on 01/19/06 05:36
http://www.silverlion.com/staff/wjohnson/test/page1.html
I am trying to make a button behave exactly like an href.
Here is a sample of code from the link above.
If I run this in firefox, it takes me to the next page find.
IE fails. I'd like to do this without any script at all.
Users just want buttons instead of hyperlinks.
<html>
<head>
<title>Page 1</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="800">
<tr>
<td align="center" height="100">
<h1>Page 1</h1>
</td>
</tr>
<tr>
<td align="center" height="500">
<a href="page2.html">
<input type="button" name="test" value="Test">
</a>
</td>
</tr> </table>
</body>
</html>
Navigation:
[Reply to this message]
|