Hey Andy,

It just worked on my end.  Can you post your code?

Courtney E. Payne, Developer
Fig Leaf Software
"We've got you covered"
[EMAIL PROTECTED]
www.figleaf.com 


-----Original Message-----
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 08, 2000 8:26 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Javascript question!...sorry


Yeh this works with hyperlinks but doesn't seem to work with images as
submit buttons unless I'm doing something wring.  Have you got it to work?

------------------------------------------------------------------
Andrew Ewings
Project Manager
Thoughtbubble Ltd
------------------------------------------------------------------


-----Original Message-----
From: Courtney Payne [mailto:[EMAIL PROTECTED]]
Sent: 08 September 2000 13:23
To: '[EMAIL PROTECTED]'
Subject: RE: Javascript question!...sorry


Something like this should work:

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
        function change(that) {
                that.src = 'image2.jpg';
        }

        function changeback(that) {
                that.src = 'image1.jpg';
        }
//-->
</SCRIPT>


.
.
.

<form>
        <input type="image" onmouseout="changeback(this)"
onmouseover="change(this)" name="theButton" src="image1.jpg">
</form>


Courtney E. Payne, Developer
Fig Leaf Software
"We've got you covered"
[EMAIL PROTECTED]
www.figleaf.com 


-----Original Message-----
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 08, 2000 8:07 AM
To: CFTalk (E-mail)
Subject: Javascript question!...sorry


Again... I know I shouldn't ask this here but....

does anybody know if it is possible to have a mouseover on a form submit
button (INPUT Type="image").  

I have got my mouseovers working for hyperlinks ok but can't get ot to work
for images acting as submit buttons on forms.

My java script is very average at the best of times....your help is
apprecited!!

Andy
------------------------------------------------------------------
Andrew Ewings
Project Manager
Thoughtbubble Ltd
------------------------------------------------------------------

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to