HighDots Forums  

editing html page for handling mouse events

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss editing html page for handling mouse events in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Giancarlo Bassi
 
Posts: n/a

Default editing html page for handling mouse events - 01-23-2006 , 04:39 PM






Hi everyone!

I know no javascript.
I'm wondering if I can edit an html page, modifying it for
handling the "click" mouse event on the appropriate mouse area.

This following is an excerpt of that page I want to edit to submit
a "click" on the "attiva" botton:

<td width="150" align="left" valign="middle">
<a href="javascript:controlField();"
onMouseOver="swapImage('bottonsub', '/images/botton_attiva_on.gif');"
onMouseOut="swapImage('bottonsub', '/images/botton_attiva.gif');">
<img name="bottonsub" src="/images/botton_attiva.gif" alt=""
width="59" height="16" border="0"></a></td>

Thanks a lot,
GB

---
"I'm no Pawn, I'm Donald Duck ! "
-- Donald in MathMagic Land



Reply With Quote
  #2  
Old   
JS_Learner
 
Posts: n/a

Default Re: editing html page for handling mouse events - 01-24-2006 , 12:57 AM






I would use the onClick() method of that link instead, and mute the
href with a #
Hope this helps.

JS_Leaner


Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.