Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Client Side Scripting
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 11-04-2009, 03:20 PM
  #1
jm_eklund
Novice (Level 1)
 
Join Date: Oct 2009
Posts: 10
iTrader: (0)
jm_eklund is an unknown quantity at this point
Mouse over effect help

I have the following code for a sign up form. I want the button to change when the mouse hovers over. Can someone help me? The button that I want it to change to is: sign_up_mouseover.png

<ul class="site-nav2">
<p>&nbsp;</p>
<FORM ACTION="https://app.expressemailmarketing.com/Survey.aspx?SFID=75036" METHOD="POST">
<div align="center"> <span class="style20"><FONT FACE="arial, helvetica">Sign up for our Mailing List
</FONT></span>
<BR>
<input type="TEXT" name="email" />
<BR>
<INPUT TYPE="IMAGE" SRC="images/sign_up.png" ALIGN="ABSMIDDLE" BORDER="0" />
<INPUT TYPE="HIDDEN" NAME="SkipSurvey" VALUE="FALSE" />
</div>
</FORM>
</ul>



Attached is what the form looks like now. You can see it at www.bigdogcattle.com

Thanks
Jamie

Last edited by jm_eklund : 11-04-2009 at 03:47 PM.
jm_eklund is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-04-2009, 04:11 PM
  #2
jackie11
Aspirant (Level 2)
 
Join Date: Apr 2009
Posts: 15
iTrader: (0)
jackie11 is an unknown quantity at this point
Could you use something like this in the head :

Code:
function roll_over(img_name, img_src)
   {
   document[img_name].src = img_src;
   }
And this in the body:

Code:
<A HREF="some.html" onmouseover="roll_over('but1', 'icon2.gif')"
onmouseout="roll_over('but1', 'icon1.gif')">
<IMG SRC="icon1.gif" WIDTH="100" HEIGHT="50"
NAME="but1" BORDER="0">
</A>
Replace the bold text with the names of your images. Maybe mess around with it abit and try to take out the A HREF part if possible

Jackie xx
jackie11 is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 03:40 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.