On 4/18/07, Fred Drake <[EMAIL PROTECTED]> wrote:
> I now have these handlers:
>
>   function mouseover(evt) {
>     addElementClass(evt.src(), "hovering");
>   }
>   function mouseout(evt) {
>     removeElementClass(evt.src(), "hovering");
>   }
>
> and this for registrations:
>
>   connect(anchor, "onmouseover", mouseover);
>   connect(anchor, "onmouseout", mouseout);

For completeness and clarity, I should note that "anchor" is really a
label element at this point, and the HTML looks like this:

  <label>
    <input type="checkbox" value="1281513505" />
    Sample Domain One
  </label>


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to