Dragonfish
Programmer
I´m using a rollover-button to call a javascript function. Pressing the button does call the function (which writes text into a DIV area) but immediatly afterwards resets the page. Here´s the HTML-code:
<FORM>
<INPUT type="image"
style="position: absolute; border: none; top: 13px; left: 198px; width: 15pt; height: 15pt;"
src="./ttscwcurrentimages/button1-1.gif"
name="Image3"
alt="2. Herren"
onClick="Herren_zwei()"
onMouseOver="MM_swapImage('Image3','','./ttscwcurrentimages/button1-2.gif',1)"
onMouseOut="MM_swapImgRestore()">
</FORM>
By simply changeing INPUT type="image" to INPUT type="button" the text gets written and stayes put but then I lose my rollover button. I´ve found no documentation on this "reset-effect". I´ve tried using the button-tag but that messes up my rollover-button as well.
<BUTTON
style="position: absolute; border: none; top: 82px; left: 267px; width: 15pt; height: 15pt;"
name="Image1"
type="button"
onClick="Home()"
onMouseOver="MM_swapImage('Image1','','./ttscwcurrentimages/button1-2.gif',1)"
onMouseOut="MM_swapImgRestore()">
<IMG src="./ttscwcurrentimages/button1-1.gif" alt="Home">
</BUTTON>
Does anybody know how to prevent this INPUT type="image" reset-effect. I can put this on the web if it helps to see what happens.
Thankxx DavidinGermany
david.gullever@web.de
<FORM>
<INPUT type="image"
style="position: absolute; border: none; top: 13px; left: 198px; width: 15pt; height: 15pt;"
src="./ttscwcurrentimages/button1-1.gif"
name="Image3"
alt="2. Herren"
onClick="Herren_zwei()"
onMouseOver="MM_swapImage('Image3','','./ttscwcurrentimages/button1-2.gif',1)"
onMouseOut="MM_swapImgRestore()">
</FORM>
By simply changeing INPUT type="image" to INPUT type="button" the text gets written and stayes put but then I lose my rollover button. I´ve found no documentation on this "reset-effect". I´ve tried using the button-tag but that messes up my rollover-button as well.
<BUTTON
style="position: absolute; border: none; top: 82px; left: 267px; width: 15pt; height: 15pt;"
name="Image1"
type="button"
onClick="Home()"
onMouseOver="MM_swapImage('Image1','','./ttscwcurrentimages/button1-2.gif',1)"
onMouseOut="MM_swapImgRestore()">
<IMG src="./ttscwcurrentimages/button1-1.gif" alt="Home">
</BUTTON>
Does anybody know how to prevent this INPUT type="image" reset-effect. I can put this on the web if it helps to see what happens.
Thankxx DavidinGermany
david.gullever@web.de