Tag: prototype
<< Anterior
Siguiente >>
Esquinas redondeadas con Prototype
<script> var Rounded = Class.create(); Rounded.prototype = { initialize : function(el){ var x, el = $(el), background = el.style.backgroundColor; for(x=0;x<11;x++){ var d = "<div style='background: " + background + "; border-style: solid; border-color: white; height: 1px; overflow: hidden; border-width: 0 " + this.index[x] + "px'> </div>"; new Insertion.Top(el, d); new Insertion.Bottom(el, d); } }, } new Rounded('blah'); </script>
En JavaScript esquinas prototype por admin hace on 30/1/08 | Comentarios
<< Anterior
Siguiente >>
