Project

General

Profile

« Previous | Next » 

Revision d30b89de

Added by Andreas Kohlbecker almost 5 years ago

replacing fixed background color yellow by class attribute 'row-active'

View differences:

modules/cdm_dataportal/js/table_modification.js
30 30
        //color summary row when hovering over it
31 31
    jQuery(selector + " .summary_row").mouseenter(
32 32
        function(event){
33
            jQuery(event.target).parent(".summary_row").css("background","#FFCC00");
33
            jQuery(event.target).parent(".summary_row").addClass( "row-active" );
34 34
        })
35 35

  
36 36
    jQuery(selector + " .summary_row").mouseleave(
37 37
        function(event){
38
            jQuery(event.target).parent(".summary_row").css("background","");
38
            jQuery(event.target).parent(".summary_row").removeClass("row-active");
39 39
        })
40 40
        //show mouse cursor as a link
41 41
        .css('cursor', 'hand').css('cursor', 'pointer');

Also available in: Unified diff