/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
***** CSS ***** #box {width:18em; margin:0 auto; padding:20px; background:#E6E6E6; color:#000} ***** JAVASCRIPT ***** <script type="text/javascript" src="js/niftycube.js"></script> <script type="text/javascript">window.onload=function(){Nifty("div#box","big")}</script> ***** HTML ***** <div id="box"> <h1>Nifty Corners Cubeâ„¢</h1> <p>One call. Two parameters. Three sizes.</p> </div>
URL: http://www.html.it/articoli/niftycube/index.html