[Prototype-core] New code from me

2009-03-01 Thread ieg...@hotmail.com
well i do these code using prototype functions. I hope you used it :D well it has 2 new functin i leave it //parte modificada por Edig [ieg...@hotmail.com] //Part mod by Edig [ieg...@hotmail.com] //checar si es numero entero y ponerle los decimales [max 2 decimales] //check if a number have 2

[Prototype-core] Re: evalScripts only works in Firefox

2009-03-01 Thread ieg...@hotmail.com
mmm no men i got it the evalscript on allot of thing and it works on all IE, CHROM, SAFARI, FF i only test on those //Lama a una pagina en un div con ajax. //se envian los parametros function url(url, div){ //quitar los mensajes window.document.getElementById('msj').innerHTML = '

[Prototype-core] Prototype adapter for Pixastic (javascript image processing)

2009-03-01 Thread F.Buratti
I have proposed to implement an adapter for Pixastic (http:// www.pixastic.com), and tried in two ways. I was seeking you to know the best way and if I made an error: 1) Prototype Element.addMethods({ pixastic: function(element, action, options) { element = $(element);

[Prototype-core] Re: Prototype adapter for Pixastic (javascript image processing)

2009-03-01 Thread nlloyds
You could do both with a methodized version of (2), the same way you can do $('el').fade(), etc. I like that because they are Effects, and scripty doesn't necessarily "own" the Effect namespace, so you won't have to depend on it, just do Effect = Effect || {} before you extend it. Nice idea. Pixa