What i am trying to do is use the submit button of the form to activate a cgi script with predefined values (ie hidden fields). So it will work like a link which will tell my cgi script what files to parse etc..., now the menu uses images and ive figured out how to make imageflips onMouseOver etc... but because this is a FORM it leaves a big space below it, thus the next image menu is far below the previous one.
Here is what im using right now:
<FORM NAME="form1" METHOD="post" ACTION="index.cgi">
<INPUT TYPE="hidden" NAME="key" VALUE="blah">
<INPUT TYPE="hidden" NAME="data" VALUE="blah2.txt"></FORM>
<IMG BORDER="0" SRC="img.gif" onClick="javascript: document.form1.submit();" onMouseOver="..." onMouseOut="...">
<FORM NAME="form2" METHOD="post" ACTION="index.cgi">
<INPUT TYPE="hidden" NAME="key" VALUE="val">
<INPUT TYPE="hidden" NAME="data" VALUE="val2.txt"></FORM>
<IMG BORDER="0" SRC="img2.gif" onClick="javascript: document.form2.submit();" onMouseOver="..." onMouseOut="...">
Now the forms are below one another, and the images wont be right below eachother but will have a space inbetween (as far as i can tell as big as the the previous image).
If anyone can help me figure out of how to remove this space would be appreciated. thx.
Here is what im using right now:
<FORM NAME="form1" METHOD="post" ACTION="index.cgi">
<INPUT TYPE="hidden" NAME="key" VALUE="blah">
<INPUT TYPE="hidden" NAME="data" VALUE="blah2.txt"></FORM>
<IMG BORDER="0" SRC="img.gif" onClick="javascript: document.form1.submit();" onMouseOver="..." onMouseOut="...">
<FORM NAME="form2" METHOD="post" ACTION="index.cgi">
<INPUT TYPE="hidden" NAME="key" VALUE="val">
<INPUT TYPE="hidden" NAME="data" VALUE="val2.txt"></FORM>
<IMG BORDER="0" SRC="img2.gif" onClick="javascript: document.form2.submit();" onMouseOver="..." onMouseOut="...">
Now the forms are below one another, and the images wont be right below eachother but will have a space inbetween (as far as i can tell as big as the the previous image).
If anyone can help me figure out of how to remove this space would be appreciated. thx.