Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > how can I get produced event?

Reply
Thread Tools

how can I get produced event?

 
 
Guest
Posts: n/a
 
      12-04-2003
I have this code:
-----------------
<script>
function handler(the_event) {..............}
</script>

<img onmousemove="handler(????????)">
-----------------

how can I send the produced event (from onmousemove) as parameter in
function handler????

thanks


 
Reply With Quote
 
 
 
 
Lee
Guest
Posts: n/a
 
      12-04-2003
<- Chameleon -> said:
>
>I have this code:
>-----------------
><script>
>function handler(the_event) {..............}
></script>
>
><img onmousemove="handler(????????)">
>-----------------
>
>how can I send the produced event (from onmousemove) as parameter in
>function handler????


<img onmousemove="handler(event)">

Netscape (Mozilla) passes the Event object to the event handlers as
an argument named "event". IE has a global variable named "event",
so you can refer to it by the same name.

 
Reply With Quote
 
 
 
 
Lasse Reichstein Nielsen
Guest
Posts: n/a
 
      12-04-2003
"<- Chameleon ->" <(E-Mail Removed)> writes:

> I have this code:
> -----------------
> <script>


<script type="text/javascript">
!
> function handler(the_event) {..............}
> </script>
>
> <img onmousemove="handler(????????)">


onmousemove="handler(event);"

/L
--
Lasse Reichstein Nielsen - http://www.velocityreviews.com/forums/(E-Mail Removed)
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Re: 3.2 can't extract tarfile produced by 2.7 Steven W. Orr Python 0 12-27-2012 06:50 PM
3.2 can't extract tarfile produced by 2.7 Antoon Pardon Python 0 12-26-2012 03:56 PM
how can I validate html produced by ajax (asynchronous dynamic html)? zzzbla@gmail.com HTML 7 05-13-2006 11:43 AM
Can Home Produced Prints Equal Lab Prints? Denis Boisclair Digital Photography 8 11-13-2004 03:20 PM



Advertisments