Mega Code Archive

 
Categories / JavaScript DHTML / Ext JS
 

Fade out block and inline tags

<html> <head> <title>Hello World Window</title> <link rel="stylesheet" type="text/css" href="ext-3.0.0/resources/css/ext-all.css" /> <script type="text/javascript" src="ext-3.0.0/adapter/ext/ext-base.js"></script> <script type="text/javascript" src="ext-3.0.0/ext-all.js"></script> </head> <script type="text/javascript"> Ext.onReady(function(){        Ext.get('block').fadeOut();     Ext.get('inline').fadeOut(); }); </script> <body>   <div id="container">       <div id="block">       <p>I Am A Block Element</p>     </div>     <span id="inline">I Am An Inline Element</span>   </div> </body> </html>