X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..92c2b89db26be16707f4a805d3303ab2531006e1:/examples/shared/extjs/site.js diff --git a/examples/shared/extjs/site.js b/examples/shared/extjs/site.js index 79229ae6..2a1ab513 100644 --- a/examples/shared/extjs/site.js +++ b/examples/shared/extjs/site.js @@ -1,11 +1,9 @@ -/* - * Ext JS Library 2.2.1 - * Copyright(c) 2006-2009, Ext JS, LLC. - * licensing@extjs.com - * - * http://extjs.com/license - */ - +/*! + * Ext JS Library 3.1.1 + * Copyright(c) 2006-2010 Ext JS, LLC + * licensing@extjs.com + * http://www.extjs.com/license + */ Ext.onReady(function(){ var activeMenu; @@ -27,13 +25,13 @@ Ext.onReady(function(){ doc.un('mouseover', handleOver); doc.un('mousedown', handleDown); } - } + }; var handleDown = function(e){ if(!e.within(menu)){ hideMenu(); } - } + }; var showMenu = function(){ clearTimeout(tid); @@ -59,7 +57,7 @@ Ext.onReady(function(){ doc.on('mouseover', handleOver, null, {buffer:150}); doc.on('mousedown', handleDown); } - } + }; el.on('mouseover', function(e){ if(!tid){ @@ -94,7 +92,7 @@ Ext.onReady(function(){ }else{ bdi.hide(); bd.show(); - bdi.slideIn('l', {duration:.2, stopFx: true, easing:'easeOut'}); + bdi.slideIn('l', {duration:0.2, stopFx: true, easing:'easeOut'}); } t.update(!expanded ? 'Hide details' : 'Show details');