I've been trying to replace the post buttons ('post new topic' and 'preview') by images.
(example) http://www.scoutingkeentmoesel.nl/topic.asp?TOPIC_ID=2111
and http://www.scoutingkeentmoesel.nl/post.asp
Here's the HTML source that's used to generate the image-buttons:
<input name="Submit" src="images/plaatsbericht.gif" align="absmiddle" type="image">
<input src="images/voorbeeld.gif" align="absmiddle" type="image" name="Preview" type="button" value="preview" onclick="OpenPreview()">
Here's the original HTML code:
<input class="gmlBtn2" name="Submit" type="submit" value="Post!">
<input class="gmlBtn2" name="Preview" type="button" value="preview" onclick="OpenPreview()">
The problem is that when someone clicks on 'Preview' the topic gets posted.....and the preview gets loaded...
The same happens on the edit-profile page ; if one clicks on the 'view signature' button, the profile gets updated....
HTML is not my best part, I knew that already, but this one is really boggling me... <