221. File Comparison Report

Produced on Mon May 12 13:05:15 2008 UTC. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

221.1 Files compared

# Location File Last Modified
1 Mon May 12 13:05:15 2008 UTC
2 Dolphin-v.6.1.0\inc\js jquery.dolTopMenu.js Wed Apr 9 17:44:54 2008 UTC

221.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 1 50
Removed 0 0

221.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

221.4 Active regular expressions

No regular expressions were active.

221.5 Comparison detail

    1   // jQuery  plugin - D olphin Top  Menu
    2   (function( $){
    3       $.fn.d olTopMenu  = function () {
    4           re turn this. each( func tion(){
    5                
    6                var show  = functio n() {
    7                    var  o = $(this ).attr('sh owsub');
    8                    $( o  ? o : thi s ).attr(  'hover', ' true' ).sh ow();
    9                    
    10                    //al ert( $acti veSub );
    11                    if(  typeof $ac tiveSub !=  'undefine d' )
    12                         $activeSub .hide();
    13                };
    14                
    15                var hide  = functio n() {
    16                    var  o = $(this ).attr('sh owsub');
    17                    var  $o = $( o  ? o : this  );
    18                    
    19                    $o.a ttr( 'hove r', 'false ' );
    20                    
    21                    setT imeout( fu nction() {
    22                         if( $o.att r( 'hover'  ) != 'tru e' ) {
    23                             $o.hid e();
    24                             
    25                             if( ty peof $acti veSub != ' undefined'  && $inact iveSubs.fi lter('[hov er=true]') .length ==  0 )
    26                                 $a ctiveSub.s how();
    27                         }
    28                    }, 1 00 );
    29                };
    30                
    31                var $ina ctive  = $ ( 'a', thi s );
    32                var $act ive    = $ ( 'b:first ', this );
    33                
    34                var $act iveSub;
    35                var $ina ctiveSubs;
    36                
    37                if( $act ive.length  && $activ e.attr('sh owsub') )
    38                    $act iveSub = $ ( $active. attr('show sub') );
    39                
    40                $inactiv e.hover( s how, hide  ).each( fu nction() {
    41                    if(  !$inactive Subs )
    42                         $inactiveS ubs = $( $ (this).att r('showsub ') );
    43                    else
    44                         $inactiveS ubs = $ina ctiveSubs. add( $(thi s).attr('s howsub') ) ;
    45                } );
    46           
    47                $inactiv eSubs.hove r( show, h ide );
    48           }  );
    49       };
    50   })(jQuery) ;