/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
*** HTML | Head *** <script type="text/javascript" language="javascript" src="js/sifr.js"></script> *** HTML | Body *** <h2>Nombre de la sección / Section name</h2> <h3>Nombre de la subsección / Subsection name</h3> *** HTML | Antes de cerrar Body / Before closing Body *** <script type="text/javascript"> //<![CDATA[ if(typeof sIFR == "function"){ // This is the preferred "named argument" syntax sIFR.replaceElement(named({sSelector:"body h2", sFlashSrc:"titulosSeccion.swf", sColor:"#9c2828", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#CCCCCC", sWmode:"transparent"})); sIFR.replaceElement(named({sSelector:"body h3", sFlashSrc:"titulosSeccion.swf", sColor:"#060000", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#CCCCCC", sWmode:"transparent"})); } //]]> </script>
URL: http://www.mikeindustries.com/blog/sifr