Welcome To Snipplr


Everyone's Recent Snippets



1 ... 516 517 518 519 520 ... 553
2 1211 posted 18 years ago by nicolaspar
Create a simple object and add properties and a method. Note where the object is parsed (not from top to bottom).
2 1477 posted 18 years ago by 1man
simply adding the tags will display the contents of the array in a much better fashion.
0 2702 posted 18 years ago by scriptmakingcom
1 1346 posted 18 years ago by JuliaKM
2 1292 posted 18 years ago by JuliaKM
Another handy trace snippet
1 1022 posted 18 years ago by ypmits
This snipped adds columnstriping to cells. It works fine for most cases, but will behave strange when combined with colspan. Cells get an additional class 'even-col' or 'odd-col'
2 1707 posted 18 years ago by berkes
2 1527 posted 18 years ago by Bonky
2 1140 posted 18 years ago by JuliaKM
Simple snippet on how to get/set a cookie
0 1168 posted 18 years ago by jsbournival
Email validation routine Dave Child
8 1891 posted 18 years ago by IanLewis
This utility function attaches listeners to a text field or text area. It supports default text for instructional copy. The original text in the field is used as the instructional/default text. When the box gets focus, it disappears and the user can...
0 1270 posted 18 years ago by elli
This will create a State select list for Textpattern if you're using the zem_contact_reborn form plugin
0 3844 posted 18 years ago by jonhenshaw
0 5394 posted 18 years ago by elugardo
0 1688 posted 18 years ago by iblis
This randomly displays 1 of the 5 arrays (amount of arrays to choose from can be reduced or increased)
3 1425 posted 18 years ago by jonhenshaw
A one-liner to remove any temporary files modified over one day ago. Removes files from /tmp/ Run without the '-exec rm {} \;' part to check that it is matching the right set of files - this can be dangerous if run by root! If you want to remove fi...
1 1491 posted 18 years ago by wolfie
1 ... 516 517 518 519 520 ... 553