Duke Will
07-27-2003, 11:59 AM
I'm going around in circles. I'd rather NOT do this in java but in something that is used by all browsers. I just want to display a list of radio buttons. When they click on a button (or click a SUBMIT button but it would be easier on them if it opens the new page when they just click the button), it opens a new window (target="_blank" ?)with the new page. I was trying to do it with FORM but I don't know... stuck.
It doesn't have to open a new window but maybe that's best. Doens't really matter.
I'd rather just use something in HTML if possible.
---
EDIT: Until someone tells me ;) I figured I could do it by using an image rather than a real radio button. I created this page -- http://www.dukewill.com/testform.html (test page) and the images are smiley faces. I could not find a .gif image of a radio button but surely I can, eventually.
If anyone knows a better way, help.
The code I used for my work-around...
<HTML>
<HEAD>
<TITLE>Song Examples, DukeWill.com</TITLE>
<style type="text/css">
<!--
body {font-family:Arial, sans-serif}
-->
</style>
</HEAD>
<BODY>
<CENTER>
<TABLE>
<TR>
<TD><FORM ACTION="http://www.dukewill.com/forum/viewtopic.php?t=4" METHOD=GET>
<input border=0 type="image" src="images/icon_biggrin.gif" ALT="Click me"></FORM></TD>
<TD> A love gone right song</TD>
</TR>
<TR>
<TD><FORM ACTION="http://www.dukewill.com/forum/viewtopic.php?t=5" METHOD=GET>
<input border=0 type="image" src="images/icon_biggrin.gif" ALT="Click me"></FORM></TD>
<TD> A love gone wrong wong</TD>
</TR>
</TABLE>
</CENTER>
</BODY>
</HTML>
When I click on the smiley face, it DOES take me to the URL. I'm getting an error saying "page does not exist." Have no clue why that is happening but I guess it has nothing to do with my HTML... something on my forum I guess.
It doesn't have to open a new window but maybe that's best. Doens't really matter.
I'd rather just use something in HTML if possible.
---
EDIT: Until someone tells me ;) I figured I could do it by using an image rather than a real radio button. I created this page -- http://www.dukewill.com/testform.html (test page) and the images are smiley faces. I could not find a .gif image of a radio button but surely I can, eventually.
If anyone knows a better way, help.
The code I used for my work-around...
<HTML>
<HEAD>
<TITLE>Song Examples, DukeWill.com</TITLE>
<style type="text/css">
<!--
body {font-family:Arial, sans-serif}
-->
</style>
</HEAD>
<BODY>
<CENTER>
<TABLE>
<TR>
<TD><FORM ACTION="http://www.dukewill.com/forum/viewtopic.php?t=4" METHOD=GET>
<input border=0 type="image" src="images/icon_biggrin.gif" ALT="Click me"></FORM></TD>
<TD> A love gone right song</TD>
</TR>
<TR>
<TD><FORM ACTION="http://www.dukewill.com/forum/viewtopic.php?t=5" METHOD=GET>
<input border=0 type="image" src="images/icon_biggrin.gif" ALT="Click me"></FORM></TD>
<TD> A love gone wrong wong</TD>
</TR>
</TABLE>
</CENTER>
</BODY>
</HTML>
When I click on the smiley face, it DOES take me to the URL. I'm getting an error saying "page does not exist." Have no clue why that is happening but I guess it has nothing to do with my HTML... something on my forum I guess.