Hi,

Saturday, July 15, 2006, 9:13:04 AM, you wrote:
SE> Hi all,

SE> Brand new to the list, so here's my question. I am 
SE>   implementing a bunch of Dreamweaver templates a 
SE> designer has built into a PHP app, and one thing 
SE> she did is create a submit button (image) that 
SE> uses mouse over JS:

SE> <a href="user.php?req=login" target="_top" 
SE> 
onMouseOver="MM_swapImage('signin','','/theme/images/admin/button_signin2.gif',1)"
SE> onMouseOut="MM_swapImgRestore()"><img 
SE> src="/theme/images/admin/button_signin.gif" 
SE> alt="Sign In" name="signin" width="86" height="20" 
border="0">></a>

SE> But notice this is an href, and it also needs to 
SE> submit $_POST data through a couple of form fields 
SE> that appear above. So what I tried to do in order 
SE> to be able to retrieve the POST data on the 
SE> receiving end was convert it to the following:

SE> <input type="image" 
SE> src="/theme/images/admin/button_signin.gif" 
SE> 
onfocus="MM_swapImage('signin','','/theme/images/admin/button_signin2.gif',1)"
SE> onblur="MM_swapImgRestore()">

SE> ...However, the onfocus and onblur are not 
SE> swapping out the images, as I had hoped. (Against 
SE> all odds, maybe I should add.)

SE> I know the client will pout and sniffle if they 
SE> don't get their mouse over affect, so I am hoping 
SE> for a solution.

SE> Any suggestions would be greatly appreciated.

SE> Thanks!
SE> -- 
SE> Skip Evans
SE> Big Sky Penguin, LLC
SE> 61 W Broadway
SE> Butte, Montana 59701
SE> 406-782-2240


to the href add onClick="formname.submit();return false;"

or something like that.

-- 
regards,
Tom

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to