following is the snippet i have question about

--------snip---------------

<form name="f_Search" action="../cgi-bin/search.cgi" method="POST">
   <input type=hidden name=type value="search">

<SCRIPT language="javascript">
<!--

if(document.images) {
image_1 = new Image(66,28)
image_1.src = "../../imgs/Search.gif"

image_2 = new Image(66,28)
image_2.src = "../../imgs/Search1.gif"
}
//-->
                    </SCRIPT>

       <A HREF="../cgi-bin/search.cgi"
          onMouseOver =
"document.images['imBut'].src='../../imgs/Search_top.gif'"
          onMouseOut =
"document.images['imBut'].src='../../imgs/Search.gif'">
       <IMG name="imBut" src="../../imgs/Search.gif" WIDTH=62 HEIGHT=28
BORDER=0 >
       </A>
</form>
----snip---------------------

This is a rollover effect and the link points to what's mentioned in
href="". I want to maintain the rollover effect and submit the form to my
search.cgi.
it should be either <input type=image src=../../imgs/search.gif>
or    within the IMG tag, onClick=........

Suggestions for the workaround with this are welcome and I thank in advance.
Aman

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to