John Lindal![]()
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-2012.05.16-20-37'
}).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.
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info