The Gallery is deprecated. No new Gallery components may be submitted, and modifying existing components is disabled. For more information please read the Gallery Deprecation blog post. This is a static snapshot of the Gallery for archive purposes.
See 50 more by this user. Created: 02/15/11
Last CDN Push: 03/6/14
Build Tag: gallery-2014.03.06-14-38
Project: YUI 3
License: YUI BSD
YUI Version: 3.5.1
Free for use.
Animates text to make it look like a neon sign that flickers when it is first turned on. Includes an option to glow, using CSS3.
Configures a node to behave like a neon sign when it is shown.
<script src="http://yui.yahooapis.com/3.5.1/build/yui/yui-min.js"></script>
YUI({
//Last Gallery Build of this module
gallery: 'gallery-2014.03.06-14-38'
}).use('gallery-neon', function(Y)
{
var node = Y.one('#my-neon-sign');
node.plug(Y.Plugin.Neon,
{
backgroundColor: 'black',
textColor: 'white',
textShadow: '{color} 0px 0px 10px, {color} 0px 0px 20px'
});
node.show();
});
No forum posts for this module.
All code on this site is licensed under the BSD License unless stated otherwise.