This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| highlight({ | |
| startColor : bgColorActive, | |
| endColor : bgColor, | |
| restoreColor : 'transparent', | |
| easing : Y.Easing.baseIn, | |
| duration : 1.0, | |
| wait : false, | |
| after : { | |
| finish : function(e){ | |
| console.log('finish'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Effects Test</title> | |
| </head> | |
| <h1>Effects Test</h1> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style type="text/css"> | |
| #testDialogContainer{ | |
| background-color:#efefef | |
| } | |
| </style> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Highlight Test</title> | |
| </head> | |
| <body> | |
| <h1>Highlight Test</h1> | |
| <script src="http://yui.yahooapis.com/3.1.1/build/yui/yui-min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| YUI().use('node', function(Y){ | |
| Y.one('#foo').on('click', function(e){ | |
| // Lazy-use OverlayModal. | |
| // Create and show a new modal Overlay. | |
| Y.use('gallery-overlay-modal', function(){ | |
| var myModalOverlay = new Y.Overlay({ | |
| bodyContent : '<p>I am modal!</p>', | |
| width : '300px', | |
| height : '150px', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| YUI.add('gallery-file-manager',function(Y){ | |
| Y.namespace('FileManager').Base = Y.Base.create('file-manager', Y.Widget, [Y.WidgetParent], { | |
| renderUI : function() { | |
| var i,l,layout = this.get('layout'); | |
| for(i=0, l=layout.length; i<l; i++) { | |
| switch(layout[i]) { | |
| case 'toolbar': break; | |
| case 'explorer': break; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var a = "hello" + | |
| "how" + | |
| "are" + | |
| "you"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>test</title> | |
| <head> | |
| <body> | |
| <script src="http://yui.yahooapis.com/3.1.1/build/yui/yui-min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this.useComponent('PageContentInfo', function(PageContentInfo){ | |
| // need a variable here... | |
| PageContentInfo.loadPage('info'); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| loadPageContent: function(foo) { | |
| this.useComponent('PageContentInfo', function(PageContentInfo){ | |
| // need a variable here... | |
| // how does "foo" get in here? | |
| PageContentInfo.loadPage('info'); | |
| }); | |