Sha256: d46b1ffa26db028f25bb3874a7875f7ee15feb3464694dbbfa3bf1bd78a18594

Contents?: true

Size: 672 Bytes

Versions: 4

Compression:

Stored size: 672 Bytes

Contents

/*---[ schedule hover ]----------------------------------------------*/

function bind_calendar_items() {
  $('ul.calendar_items li.vevent').hover(
    function() {
      $(this).addClass('hover');
      box = $(this).children('.session_info');

      bottom = $(document).scrollTop() + $(window).height();
      box_bottom = box.offset().top + box.outerHeight();

      if ( box_bottom > bottom ) box.css('top',-(box_bottom - bottom + 10));
      if( !$(this).hasClass('generic_item')) box.css('border-color',$(this).css('background-color'));
      },
    function() {
      $(this).removeClass('hover');
      $(this).children('.session_info').css('top',0);
    }
  )
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre4 app/assets/javascripts/open_conference_ware/schedule.js
open_conference_ware-1.0.0.pre3 app/assets/javascripts/open_conference_ware/schedule.js
open_conference_ware-1.0.0.pre2 app/assets/javascripts/open_conference_ware/schedule.js
open_conference_ware-1.0.0.pre1 app/assets/javascripts/open_conference_ware/schedule.js