deadlock Message Board
[ February Full List | Reply ]

Re: Tricky OnMouseOver q.
From Mark Pakula on 21 Feb '00
replying to Re: Tricky OnMouseOver q. posted by Jonathan

>You can use "document.theformsname.submit()" to submit the form from an anchor tag. Probably not the best solution, but it seems to work with NN4/IE5. Click
>http://www.acornlodge.net/test/testform.html
>to see it work (hopefully).
>
><!-- rollover image if script, otherwise normal image. Should have function calls in onmouseover/out? -->
><SCRIPT><!--
>
document.write('<A href="javascript:document.theform.submit()" onmouseover="theimage.src=\'button2.gif\'"; onmouseout="theimage.src=\'button1.gif\'"><IMG src="button1.gif" name="theimage" border=0></A> ');
>// -->
></SCRIPT>
><NOSCRIPT><INPUT type="image" src="button1.gif" border=0></NOSCRIPT>
>
>Jonathan.


Yup, this didnt directly work, but I modified it and got what I wanted. Im calling 3 different search engines, so i couldnt use the submit, I had to call a script.

Thank you very much!.

Mark.




Reply to this message

Required Details
Your name:
Subject:

Optional Details
Home page title:
Home page URL:
Email:
(if you'd like to receive automatic replies by email)

Your Message