thekingsimo / jquery-week-calendar

Automatically exported from code.google.com/p/jquery-week-calendar
0 stars 0 forks source link

OnMouseOver and OnMouseOut events to trigger from the event time div too #38

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I did events in my calendar so that they are "collapsed" by default(e.g. I
set the event css height to 20px in (after) render listener) and I wanted
to put the right height for the element onmouseover, but the event is not
triggered from the time div of the event.. So I added in
_setupEventDelegation this to mouseover:

if($target.hasClass("time") ) {
    options.eventMouseover($target.data("calEvent"), $target.parent(), event);
}

and this to mouseout:

if($target.hasClass("time") ) {
    options.eventMouseout($target.data("calEvent"), $target.parent(), event);
}

Original issue reported on code.google.com by doze...@gmail.com on 26 Jun 2009 at 5:55

GoogleCodeExporter commented 8 years ago

Original comment by robmo...@gmail.com on 10 Aug 2009 at 12:31

GoogleCodeExporter commented 8 years ago
Is it possible to have the mouseout and mouseover events trigger on the title 
div also?

Original comment by strategi...@gmail.com on 17 Jan 2010 at 9:43