Welcome To Snipplr


Everyone's Recent Snippets



1 ... 122 123 124 125 126 ... 554
A JS function that stripes the tables ("table" elements) of a document. It takes no arguments. Add a new class ("odd") to the odd rows that needs to be styled using CSS. Use addClass function. From book Dom Scripting by Jeremy Keith.
0 548 posted 13 years ago by alberomo
A JS function that returns the next element of a node. Argument: The node you want to know next element. From book Dom Scripting by Jeremy Keith.
0 600 posted 13 years ago by alberomo
Instead of requiring the loop.php file in your custom themes you can use there two functions, placed in your functions.php file to not only automatically include it, but make a dead simple to filter sections out on a page by page basis negating the n...
0 719 posted 13 years ago by FatFolderDesigner
A four square layout design that can be resized and inserted into any larger wrapper.
0 1306 posted 13 years ago by marshalletm
if don't like `@import` in stylesheet
0 592 posted 13 years ago by hasssan
JS function that takes the accesskey attribute of the links of the document and display them at the end of the document. Takes no arguments. From book Dom Scripting by Jeremy Keith.
0 500 posted 13 years ago by alberomo
JS function that add a link included in the cite attribute of the blackquote HTML element as sup element close to the blackquote. Takes no argument. From book Dom Scripting by Jeremy Keith.
0 491 posted 13 years ago by alberomo
0 712 posted 13 years ago by georgemathewkunnathoor
0 949 posted 13 years ago by kbrown
Shows how to read/write fully formatted CSV with Ruby
1 1458 posted 13 years ago by m1b
1 660 posted 13 years ago by rahijain
0 700 posted 13 years ago by rahijain
0 913 posted 13 years ago by lucaborace
0 607 posted 13 years ago by lucaborace
0 665 posted 13 years ago by tcelestino
1 ... 122 123 124 125 126 ... 554