Welcome To Snipplr


Everyone's Recent Snippets



1 ... 403 404 405 406 407 ... 552
0 2135 posted 17 years ago by pauljmartinez
Template Tag body_class The coming WordPress 2.8 provides a new Template Tag, body_class. This function gives the body element different classes, which gives you the possibility to use it effectively with CSS.
3 1606 posted 17 years ago by jessibird
1 1965 posted 17 years ago by arpit
1 1777 posted 17 years ago by vali29
2 2083 posted 17 years ago by cuscus1986
0 1803 posted 17 years ago by pauljmartinez
Works great for parsing links in XML documents and arrays.
0 1543 posted 17 years ago by stanosmith
Will prompt for user password.
0 1757 posted 17 years ago by alvarezrilla
0 1372 posted 17 years ago by wokon
0 1640 posted 17 years ago by ainara13
0 1797 posted 17 years ago by ainara13
Quick little clientside script to pick out every 3rd image and add a class of last to it. I needed this because the images were layed out in 3 columns, adding a margin to the right hand side would leave a large gap on the right hand side which i d...
0 2362 posted 17 years ago by 1man
AS3 Apple Style Preloader
3 2257 posted 17 years ago by liuran
Adds a method to the Array object that lets you slice the array down to everything before the given value.
0 1401 posted 17 years ago by segdeha
Construct DateTime object with unix timestamp
0 1773 posted 17 years ago by iloveitaly
Example Running: alphaID(9007199254740989); will return 'PpQXn7COf' and: alphaID('PpQXn7COf', true); will return '9007199254740989' Easy right?
1 2434 posted 17 years ago by localhorst
For some reason it took me a bit to realize that you had to use datetime.datetime
0 1750 posted 17 years ago by iloveitaly
0 1498 posted 17 years ago by stancell
1 1789 posted 17 years ago by martinlucas
1 2095 posted 17 years ago by martinlucas
Taken from Doug Sparling's Blog
0 1287 posted 17 years ago by roflman79
actionscript3 version of a more complex button action, which responds to rollover, rollout and clicking. this method uses one single 'buttonstuff' function with a 'switch' inside which causes the function to respond differently, depending on what...
1 2440 posted 17 years ago by stiobhart
actionscript3 version of the basic button action. in actionscript3, button actions can no longer be attached to the buttons themselves or called from the main timeline. you need to put an 'addEventListener' in the timeline to 'listen' for interacti...
1 2536 posted 17 years ago by stiobhart
basic actionscript button action that can be attached directly to a button on the stage. this will NOT work in actionscript 3, which does not allow actionscript to be attached directly onto buttons. make sure you're attaching this action to a but...
0 1736 posted 17 years ago by stiobhart
What a gotcha!
2 2071 posted 17 years ago by wdso
1 ... 403 404 405 406 407 ... 552