view release on metacpan or search on metacpan
root/static/js/yui/build/button/button-min.js view on Meta::CPAN
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
(function(){var G=YAHOO.util.Dom,L=YAHOO.util.Event,I=YAHOO.lang,B=YAHOO.widget.Overlay,J=YAHOO.widget.Menu,D={},K=null,E=null,C=null;function F(N,M,Q,O){var R,P;if(I.isString(N)&&I.isString(M)){if(YAHOO.env.ua.ie){P="<input type=\""+N+"\" name=\""+M...
}else{this.on("appendTo",X);}}}}}}if(W&&J&&(W instanceof J)){Z=W;O=Z.getItems();N=O.length;Y=true;if(N>0){R=N-1;do{V=O[R];if(V){V.cfg.subscribeToConfigEvent("selected",this._onMenuItemSelected,V,this);}}while(R--);}U.call(this);}else{if(B&&W&&(W inst...
}C=null;this.fireEvent("blur",M);},_onDocumentKeyUp:function(M){if(this._isActivationKey(L.getCharCode(M))){this._activationKeyPressed=false;L.removeListener(document,"keyup",this._onDocumentKeyUp);}},_onKeyDown:function(N){var M=this._menu;if(this.g...
D[this.get("id")]=this;this.addClass(this.CSS_CLASS_NAME);this.addClass("yui-"+this.get("type")+"-button");L.on(this._button,"focus",this._onFocus,null,this);this.on("mouseover",this._onMouseOver);this.on("click",this._onClick);this.on("appendTo",thi...
}},_onAppendTo:function(H){var I=this._buttons,G=I.length,F;for(F=0;F<G;F++){I[F].appendTo(this.get("element"));}},_onButtonCheckedChange:function(G,F){var I=G.newValue,H=this.get("checkedButton");if(I&&H!=F){if(H){H.set("checked",false,true);}this.s...
root/static/js/yui/build/menu/assets/menu-core.css view on Meta::CPAN
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
/* Menu & MenuBar styles */
.yuimenubar {
visibility: visible;
position: static;
}
.yuimenu .yuimenu,
.yuimenubar .yuimenu {
root/static/js/yui/build/menu/assets/menu-core.css view on Meta::CPAN
text-align: left;
white-space: nowrap;
}
/*
The following style rule trigger the "hasLayout" property in
IE (http://msdn2.microsoft.com/en-us/library/ms533776.aspx) for a
MenuBar instance's <ul> element, allowing both to clear their floated
child <li> elements.
*/
.yuimenubar ul {
*zoom: 1;
}
/*
Remove the "hasLayout" trigger for submenus of MenuBar instances as it
is unnecessary.
*/
.yuimenubar .yuimenu ul {
*zoom: normal;
}
/*
The following style rule allows a MenuBar instance's <ul> element to clear
its floated <li> elements in Firefox, Safari and and Opera.
*/
.yuimenubar>.bd>ul:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
height: 0;
root/static/js/yui/build/menu/assets/menu-core.css view on Meta::CPAN
*/
margin: -1em 0 0 10em;
}
/*
PLEASE NOTE: The <div> element used for a menu's shadow is appended
to its root element via JavaScript once it has been rendered. The
code that creates the shadow lives in the menu's public "onRender"
event handler that is a prototype method of YAHOO.widget.Menu.
Implementers wishing to remove a menu's shadow or add any other markup
required for a given skin for menu should override the "onRender" method.
*/
.yui-menu-shadow {
position: absolute;
visibility: hidden;
z-index: -1;
root/static/js/yui/build/menu/assets/menu-core.css view on Meta::CPAN
left: -3px;
bottom: -3px;
visibility: visible;
}
/*
There are two known issues with YAHOO.widget.Overlay (the superclass class of
Menu) that manifest in Gecko-based browsers on Mac OS X:
1) Elements with scrollbars will poke through Overlay instances floating
above them.
2) An Overlay's scrollbars and the scrollbars of its child nodes remain
visible when the Overlay is hidden.
To fix these bugs in Menu (a subclass of YAHOO.widget.Overlay):
1) The "overflow" property of a Menu instance's shadow element and child
nodes is toggled between "hidden" and "auto" (through the application
and removal of the "hide-scrollbars" and "show-scrollbars" CSS classes)
as its "visibility" configuration property is toggled between
"false" and "true."
2) The "display" property of <select> elements that are child nodes of the
Menu instance's root element is set to "none" when it is hidden.
PLEASE NOTE:
1) The "hide-scrollbars" and "show-scrollbars" CSS classes classes are
applied only for Gecko on Mac OS X and are added/removed to/from the
Overlay's root HTML element (DIV) via the "hideMacGeckoScrollbars" and
"showMacGeckoScrollbars" methods of YAHOO.widget.Overlay.
2) There may be instances where the CSS for a web page or application
contains style rules whose specificity override the rules implemented by
the Menu CSS files to fix this bug. In such cases, is necessary to
leverage the provided "hide-scrollbars" and "show-scrollbars" classes to
write custom style rules to guard against this bug.
** For more information on this issue, see:
+ https://bugzilla.mozilla.org/show_bug.cgi?id=187435
+ SourceForge bug #1723530
*/
root/static/js/yui/build/menu/assets/menu-core.css view on Meta::CPAN
display: none;
}
/*
The following style rule (".yuimenu.show-scrollbars") overrides the
".show-scrollbars" rule defined in container-core.css which sets the
"overflow" property of a YAHOO.widget.Overlay instance's root HTML element to
"auto" when it is visible. Without this override, a Menu would have scrollbars
when one of its submenus is visible.
*/
.yuimenu.show-scrollbars,
.yuimenubar.show-scrollbars {
overflow: visible;
}
root/static/js/yui/build/menu/assets/menu.css view on Meta::CPAN
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
/* Menu & MenuBar styles */
.yuimenubar {
visibility: visible;
position: static;
}
.yuimenu .yuimenu,
.yuimenubar .yuimenu {
root/static/js/yui/build/menu/assets/menu.css view on Meta::CPAN
text-align: left;
white-space: nowrap;
}
/*
The following style rule trigger the "hasLayout" property in
IE (http://msdn2.microsoft.com/en-us/library/ms533776.aspx) for a
MenuBar instance's <ul> element, allowing both to clear their floated
child <li> elements.
*/
.yuimenubar ul {
*zoom: 1;
}
/*
Remove the "hasLayout" trigger for submenus of MenuBar instances as it
is unnecessary.
*/
.yuimenubar .yuimenu ul {
*zoom: normal;
}
/*
The following style rule allows a MenuBar instance's <ul> element to clear
its floated <li> elements in Firefox, Safari and and Opera.
*/
.yuimenubar>.bd>ul:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
height: 0;
root/static/js/yui/build/menu/assets/menu.css view on Meta::CPAN
*/
margin: -1em 0 0 10em;
}
/*
PLEASE NOTE: The <div> element used for a menu's shadow is appended
to its root element via JavaScript once it has been rendered. The
code that creates the shadow lives in the menu's public "onRender"
event handler that is a prototype method of YAHOO.widget.Menu.
Implementers wishing to remove a menu's shadow or add any other markup
required for a given skin for menu should override the "onRender" method.
*/
.yui-menu-shadow {
position: absolute;
visibility: hidden;
z-index: -1;
root/static/js/yui/build/menu/assets/menu.css view on Meta::CPAN
left: -3px;
bottom: -3px;
visibility: visible;
}
/*
There are two known issues with YAHOO.widget.Overlay (the superclass class of
Menu) that manifest in Gecko-based browsers on Mac OS X:
1) Elements with scrollbars will poke through Overlay instances floating
above them.
2) An Overlay's scrollbars and the scrollbars of its child nodes remain
visible when the Overlay is hidden.
To fix these bugs in Menu (a subclass of YAHOO.widget.Overlay):
1) The "overflow" property of a Menu instance's shadow element and child
nodes is toggled between "hidden" and "auto" (through the application
and removal of the "hide-scrollbars" and "show-scrollbars" CSS classes)
as its "visibility" configuration property is toggled between
"false" and "true."
2) The "display" property of <select> elements that are child nodes of the
Menu instance's root element is set to "none" when it is hidden.
PLEASE NOTE:
1) The "hide-scrollbars" and "show-scrollbars" CSS classes classes are
applied only for Gecko on Mac OS X and are added/removed to/from the
Overlay's root HTML element (DIV) via the "hideMacGeckoScrollbars" and
"showMacGeckoScrollbars" methods of YAHOO.widget.Overlay.
2) There may be instances where the CSS for a web page or application
contains style rules whose specificity override the rules implemented by
the Menu CSS files to fix this bug. In such cases, is necessary to
leverage the provided "hide-scrollbars" and "show-scrollbars" classes to
write custom style rules to guard against this bug.
** For more information on this issue, see:
+ https://bugzilla.mozilla.org/show_bug.cgi?id=187435
+ SourceForge bug #1723530
*/
root/static/js/yui/build/menu/assets/menu.css view on Meta::CPAN
display: none;
}
/*
The following style rule (".yuimenu.show-scrollbars") overrides the
".show-scrollbars" rule defined in container-core.css which sets the
"overflow" property of a YAHOO.widget.Overlay instance's root HTML element to
"auto" when it is visible. Without this override, a Menu would have scrollbars
when one of its submenus is visible.
*/
.yuimenu.show-scrollbars,
.yuimenubar.show-scrollbars {
overflow: visible;
}
root/static/js/yui/build/menu/assets/menu.css view on Meta::CPAN
}
.yuimenu.show-scrollbars .yui-menu-shadow,
.yuimenubar.show-scrollbars .yui-menu-shadow {
overflow: auto;
}
/* MenuBar style rules */
.yuimenubar {
background-color: #f6f7ee;
}
/* Menu style rules */
.yuimenu {
background-color: #f6f7ee;
border: solid 1px #c4c4be;
padding: 1px;
}
.yui-menu-shadow {
root/static/js/yui/build/menu/assets/menu.css view on Meta::CPAN
}
.yuimenu .bottomscrollbar_disabled {
background-image: url(menu_down_arrow_disabled.png);
}
/* MenuItem and MenuBarItem styles */
.yuimenuitem {
/*
For IE: Used to collapse superfluous white space between <li> elements
that is triggered by the "display" property of the <a> elements being
set to "block."
*/
*border-bottom: solid 1px #f6f7ee;
root/static/js/yui/build/menu/assets/menu.css view on Meta::CPAN
.yuimenuitemlabel .helptext {
margin-top: -1.1em;
*margin-top: -1.2em; /* For IE*/
}
/* MenuItem states */
/* Selected MenuItem */
.yuimenubaritem-selected,
.yuimenuitem-selected {
background-color: #8c8ad0;
}
.yuimenubaritemlabel-selected,
.yuimenuitemlabel-selected {
root/static/js/yui/build/menu/assets/menu.css view on Meta::CPAN
}
.yuimenuitem-checked-selected {
background-image: url(menuitem_checkbox_selected.png);
}
/* Disabled MenuItem */
.yuimenubaritemlabel-disabled,
.yuimenuitemlabel-disabled {
cursor: default;
color: #b9b9b9;
}
.yuimenubaritem-hassubmenu-disabled {
root/static/js/yui/build/menu/assets/skins/sam/menu-skin.css view on Meta::CPAN
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
/* MenuBar style rules */
.yui-skin-sam .yuimenubar {
font-size: 93%; /* 12px */
line-height: 2; /* ~24px */
*line-height: 1.9; /* For IE */
border: solid 1px #808080;
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
}
/* MenuBarItem style rules */
.yui-skin-sam .yuimenubarnav .yuimenubaritem {
border-right: solid 1px #ccc;
}
.yui-skin-sam .yuimenubaritemlabel {
padding: 0 10px;
root/static/js/yui/build/menu/assets/skins/sam/menu-skin.css view on Meta::CPAN
}
.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-hassubmenu {
background: url(menubaritem_submenuindicator.png) right center no-repeat;
}
/* MenuBarItem states */
/* Selected MenuBarItem */
.yui-skin-sam .yuimenubaritem-selected {
background: url(../../../../assets/skins/sam/sprite.png) repeat-x 0 -1700px;
}
.yui-skin-sam .yuimenubaritemlabel-selected {
border-color: #7D98B8;
root/static/js/yui/build/menu/assets/skins/sam/menu-skin.css view on Meta::CPAN
.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-selected {
border-left-width: 1px;
margin-left: -1px;
*left: -1px; /* For IE */
}
/* Disabled MenuBarItem */
.yui-skin-sam .yuimenubaritemlabel-disabled {
cursor: default;
color: #A6A6A6;
}
.yui-skin-sam .yuimenubarnav .yuimenubaritemlabel-hassubmenu-disabled {
background-image: url(menubaritem_submenuindicator_disabled.png);
}
/* Menu style rules */
.yui-skin-sam .yuimenu {
font-size: 93%; /* 12px */
line-height: 1.5; /* 18px */
*line-height: 1.45; /* For IE */
}
.yui-skin-sam .yuimenubar .yuimenu,
root/static/js/yui/build/menu/assets/skins/sam/menu-skin.css view on Meta::CPAN
}
.yui-skin-sam .yuimenu .bottomscrollbar_disabled {
background-position: center -875px;
}
/* MenuItem style rules */
.yui-skin-sam .yuimenuitem {
/*
For IE 7 Quirks and IE 6 Strict Mode and Quirks Mode:
Used to collapse superfluous white space between <li> elements
that is triggered by the "display" property of the <a> elements being
set to "block."
*/
root/static/js/yui/build/menu/assets/skins/sam/menu-skin.css view on Meta::CPAN
.yui-skin-sam .yuimenuitem-checked {
background-image: url(menuitem_checkbox.png);
background-position: left center;
background-repeat: no-repeat;
}
/* Menu states */
/* Visible Menu */
.yui-skin-sam .yui-menu-shadow-visible {
background-color: #000;
/*
Opacity can be expensive, so defer the use of opacity until the
menu is visible.
*/
opacity: .12;
*filter: alpha(opacity=12); /* For IE */
}
/* MenuItem states */
/* Selected MenuItem */
.yui-skin-sam .yuimenuitem-selected {
background-color: #B3D4FF;
}
/* Disabled MenuItem */
.yui-skin-sam .yuimenuitemlabel-disabled {
cursor: default;
color: #A6A6A6;
}
.yui-skin-sam .yuimenuitem-hassubmenu-disabled {
root/static/js/yui/build/menu/menu-min.js view on Meta::CPAN
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
(function(){var B=YAHOO.util.Dom,A=YAHOO.util.Event;YAHOO.widget.MenuManager=function(){var N=false,F={},Q={},J={},E={"click":"clickEvent","mousedown":"mouseDownEvent","mouseup":"mouseUpEvent","mouseover":"mouseOverEvent","mouseout":"mouseOutEvent","...
this._aListElements=[];this._aGroupTitleElements=[];if(!this.ITEM_TYPE){this.ITEM_TYPE=YAHOO.widget.MenuItem;}var N;if(typeof P=="string"){N=document.getElementById(P);}else{if(P.tagName){N=P;}}if(N&&N.tagName){switch(N.tagName.toUpperCase()){case"DI...
}}O._nHideDelayId=window.setTimeout(N,O.cfg.getProperty("hidedelay"));},_cancelShowDelay:function(){var N=this.getRoot();if(N._nShowDelayId){window.clearTimeout(N._nShowDelayId);}},_execShowDelay:function(P){var O=this.getRoot();function N(){if(P.par...
}}}M.preventDefault(Y);}},_onKeyPress:function(P,O){var N=O[0];if(N.keyCode==40||N.keyCode==38){M.preventDefault(N);}},_onYChange:function(O,N){var Q=this.parent,S,P,R;if(Q){S=Q.parent.body.scrollTop;if(S>0){R=(this.cfg.getProperty("y")-S);C.setY(thi...
if(c<i){V=T[0];g=C.getDocumentScrollLeft();h=g+Z;N=g+i-c-Z;if(V<f){V=h;}else{if((V+c)>i){if(X&&((V-X.offsetWidth)>c)){if(j&&j.parent instanceof YAHOO.widget.MenuBar){V=(V-(c-X.offsetWidth));}else{V=(V-(X.offsetWidth+c));}}else{V=N;}}}}if(R<a){U=T[1];...
this.keyPressEvent=this.createEvent(A.KEY_PRESS);this.keyPressEvent.signature=N;this.keyDownEvent=this.createEvent(A.KEY_DOWN);this.keyDownEvent.signature=N;this.keyUpEvent=this.createEvent(A.KEY_UP);this.keyUpEvent.signature=N;this.focusEvent=this.c...
N.addProperty(J.MIN_SCROLL_HEIGHT.key,{value:J.MIN_SCROLL_HEIGHT.value,validator:J.MIN_SCROLL_HEIGHT.validator,supercedes:J.MIN_SCROLL_HEIGHT.supercedes,suppressEvent:J.MIN_SCROLL_HEIGHT.suppressEvent});N.addProperty(J.MAX_HEIGHT.key,{handler:this.co...
}M.setAttribute("href",N);},configTarget:function(M,L,K){var J=L[0],N=this._oAnchor;if(J&&J.length>0){N.setAttribute("target",J);}else{N.removeAttribute("target");}},configEmphasis:function(L,K,J){var N=K[0],M=this.cfg;if(N&&M.getProperty("strongemph...
function O(Q,R){return Q[R]||O(Q,(R-1));}function L(Q,R){return Q[R]?R:L(Q,(R+1));}if(this.parent instanceof E){N=this.groupIndex;P=this.parent.getItemGroups();if(this.index>L(P[N],0)){K=O(P[N],(this.index-1));}else{if(N>L(P,0)){J=N-1;}else{J=P.lengt...
}K.cfg.setProperty("selected",true);I=K.cfg.getProperty("submenu");if(I){if(I.cfg.getProperty("visible")){I.hide();}else{I.show();}}}},toString:function(){var F="MenuBar",E=this.id;if(E){F+=(" "+E);}return F;},initDefaultConfig:function(){A.superclas...
root/static/js/yui/build/treeview/treeview-min.js view on Meta::CPAN
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
YAHOO.widget.TreeView=function(A){if(A){this.init(A);}};YAHOO.widget.TreeView.prototype={id:null,_el:null,_nodes:null,locked:false,_expandAnim:null,_collapseAnim:null,_animCount:0,maxAnim:2,setExpandAnim:function(A){this._expandAnim=(YAHOO.widget.TVA...
}this.tree=B.tree;this.parent=B;this.depth=B.depth+1;if(!this.href){this.href="javascript:"+this.getToggleLink();}this.tree.regNode(this);B.childrenRendered=false;for(var C=0,A=this.children.length;C<A;++C){this.children[C].applyParent(this);}this.fi...
},getAncestor:function(B){if(B>=this.depth||B<0){return null;}var A=this.parent;while(A.depth>B){A=A.parent;}return A;},getDepthStyle:function(A){return(this.getAncestor(A).nextSibling)?"ygtvdepthcell":"ygtvblankdepthcell";},getNodeHtml:function(){re...
});A.animate();},onComplete:function(){var A=this.el.style;A.display="none";A.filter="alpha(opacity=100)";this.callback();},toString:function(){return"TVFadeOut";}};YAHOO.register("treeview",YAHOO.widget.TreeView,{version:"2.5.0",build:"895"});