Welcome To Snipplr


Everyone's Recent Snippets Tagged list



1 2 3 4 5 ... 8
use flatten to reduce a given list to non-list elements. All elements that are no list will be kept and the lists will be expanded...
0 1496 posted 14 years ago by abstraktor
This layout manager doesn't support virtualization.
0 1841 posted 14 years ago by mcorlan
0 1607 posted 14 years ago by mcorlan
0 1454 posted 15 years ago by rmdort
0 1708 posted 15 years ago by raz
0 1957 posted 15 years ago by magicrebirth
All credit for this goes to Rob at calypso88.
0 1943 posted 15 years ago by adrianparr
0 3528 posted 15 years ago by alfirth
0 1570 posted 15 years ago by silviud
Not only is it really really fast; it's also order preserving and supports an optional transform function
0 3956 posted 15 years ago by magicrebirth
3 1841 posted 15 years ago by xhiena
Different formats for listing states.
0 1754 posted 15 years ago by MikeNGarrett
Useful bit of CSS to vertically centre a navigation. Good for Pagination.
1 2287 posted 15 years ago by 1man
his code will show the child pages, and only the child pages, when on a parent or on one of the children. This code will not work if placed after a widget block in the sidebar.
1 2051 posted 15 years ago by raz
List WordPress subpages and include parent
0 1655 posted 15 years ago by raz
0 1740 posted 15 years ago by metoikos
Just syntax examples here. First block reads, second writes. Top function just a debugging helper. Using jquery 1.5, $(xData.responseXML).find("nodeName=z:row]").each(function(i)... may need to be written as $(xData.responseXML).find("nodeName='z...
0 2437 posted 15 years ago by rumremix
1 1684 posted 15 years ago by bobbym245
The css style's in the <style></style> tags are important for this snippet to work.
1 2010 posted 15 years ago by bobbym245
Pass this for onclick. Add 'selected_image' id to css.
0 1371 posted 15 years ago by donaldcook
0 1277 posted 15 years ago by ppofuk
The resulting tree is represented through a dict where each father gets a key (with all the children as args)
0 1853 posted 15 years ago by magicrebirth
Enables to create a generic list with anonymous types. Very useful for me :).
1 1507 posted 15 years ago by wallybh
1 1416 posted 15 years ago by yesraaj
1 2 3 4 5 ... 8