Changeset 8797


Ignore:
Timestamp:
Jul 13, 2009, 2:03:17 PM (13 years ago)
Author:
charles
Message:

(trunk clutch) #2272: Web UI list items do not "match" in FF 3.5

Location:
trunk/web/javascript/jquery
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/jquery/jquery.transmenu.js

    r6318 r8797  
    311311                                var arrow_markup = $("<span class='arrow'>" + transMenuSettings.arrow_char + '</span>');
    312312                                // Mozilla float/position hack
    313                                 if ($.browser.mozilla) {
     313                                if ($.browser.mozilla && +$.browser.version.replace(/\./g,'').slice(0,3) < 191) {
    314314                                        arrow_markup.css('margin-top', '-13px');
    315315                                }
  • trunk/web/javascript/jquery/jquery.transmenu.min.js

    r6318 r8797  
    2424if(!$(this).is('.trans_menu')){$(this).addClass('trans_menu');}
    2525$('ul',this).shadowBox();$(this).bind('closemenu',function(){clean();});var liElems=$(this).children('li');for(var j=0;j<liElems.length;j++){if(getOneChild(getOneChild(getOneChild(liElems[j],'DIV'),'UL'),'LI')){$(liElems[j]).click(mainClick);}}
    26 $(liElems).hover(mainHoverIn,mainHoverOut).addClass('main').find('>div').addClass('inner');if(transMenuSettings.arrow_char){var arrow_markup=$("<span class='arrow'>"+transMenuSettings.arrow_char+'</span>');if($.browser.mozilla){arrow_markup.css('margin-top','-13px');}
     26$(liElems).hover(mainHoverIn,mainHoverOut).addClass('main').find('>div').addClass('inner');if(transMenuSettings.arrow_char){var arrow_markup=$("<span class='arrow'>"+transMenuSettings.arrow_char+'</span>');if($.browser.mozilla&&+$.browser.version.replace(/\./g,'').slice(0,3)<191){arrow_markup.css('margin-top','-13px');}
    2727$('div.inner div.outerbox',this).before(arrow_markup);}
    2828$(this).wrap('<div class="main_container"></div>').after('<div style="clear: both; visibility: hidden;"></div>');});};$.fn.transMenu.setDefaults=function(o){$.extend(defaults,o);};$.fn.shadowBox=function(){return this.each(function(){var outer=$('<div class="outerbox"></div>').get(0);if($(this).css('position')=='absolute'){$(outer).css({position:'relative',width:this.offsetWidth,height:this.offsetHeight});}else{$(outer).css('position','absolute');}
Note: See TracChangeset for help on using the changeset viewer.