alvaroisorna


Member since 06/27/2006

11 snippets

368 profile views

4 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

alvaroisorna's Recent SnippetsTagged javascript



« Prev 1 Next »
"I never liked the JavaScript implementation of cookies. The storage space is limited (4 x 20 Kb per domain), the only data format that can be used is a string and the syntax for setting and getting cookies is unnecessarily complicated. On top of tha...
0 98 posted 12 years ago by alvaroisorna
This snippet extends the String object so that you can localize() i18n strings
0 118 posted 12 years ago by alvaroisorna
seen at: http://jehiah.cz/archive/javascript-isdefined-function
0 72 posted 12 years ago by alvaroisorna
This snippet adds a replaceAll method to the String prototype, so that you can call it later like this: "test string".replaceAll("s", "-"); // returns "te-t -tring"
1 90 posted 13 years ago by alvaroisorna
I've found a very nice (and standard) solution to firing events while it's not normally available, this piece of code searchs the active element (a text input) inside the Event.observers collection and fires the "onchange" event (normally not possibl...
0 92 posted 14 years ago by alvaroisorna
this is the template i mostly use when create new js files
2 85 posted 14 years ago by alvaroisorna
first try to a crossbrowser support for png's opacity support
5 159 posted 14 years ago by alvaroisorna
this snippet will help you understand how to use namespacing and oop construnction in JavaScript
0 112 posted 14 years ago by alvaroisorna
this example will help you understand how to use namespacing in JavaScript
2 71 posted 14 years ago by alvaroisorna
« Prev 1 Next »