Ticket #4904: mythweb-ticket_4904-hover_timer_for_listings_details.patch
File mythweb-ticket_4904-hover_timer_for_listings_details.patch, 1.7 KB (added by , 16 years ago) |
---|
-
mythweb/modules/tv/tmpl/default/list_cell_program.php
12 12 // Start printing the link to record this show 13 13 echo '<a id = "program-'.$program->chanid.'-'.$program->starttime.'" 14 14 class = "program" 15 onmouseover = "currently_hovered_id = this.id; load_tool_tip(\'program-'.$program->chanid.'-'.$program->starttime.'\',\''.$program->chanid.'\',\''.$program->starttime.'\');"16 onmouseout = "currently_hovered_id = null; "15 onmouseover = "currently_hovered_id = this.id; details_delay_timer_id = setTimeout(function () {load_tool_tip(\'program-'.$program->chanid.'-'.$program->starttime.'\',\''.$program->chanid.'\',\''.$program->starttime.'\');}, 250);" 16 onmouseout = "currently_hovered_id = null; clearTimeout( details_delay_timer_id ); details_delay_timer_id = null;" 17 17 href = "'.root.'tv/detail/'.$program->chanid.'/'.$program->starttime.'">'; 18 18 // Is this program 'Already in Progress'? 19 19 if ($program->starttime < $GLOBALS['list_starttime']) -
mythweb/modules/tv/tmpl/default/list.php
68 68 } 69 69 70 70 var currently_hovered_id = null; 71 var details_delay_timer_id = null; 71 72 72 73 function attempt_to_show_tip(element) { 73 74 if (element == currently_hovered_id)