Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This makes template code that applies to children of a particular page much more readable, especially if you can use a page path instead of an ID: `if ( is_child_of( 'topic/subtopic' ) ) :`.
1
1611
posted 16 years ago by cyberhobo
and check out http://code.google.com/chrome/chromeframe/developers_guide.html#Detecting_Google_Chrome_Frame
0
1332
posted 16 years ago by mware1205
To display "&" character within the string used as error descriptor in ErrorProvidor component in .NET use "&&&" so that it displays as a single "&".
More detail at:
http://www.codeproject.com/Messages/3225091/ErrorProvider-SetError-string-constra...
0
1988
posted 16 years ago by sysdeamon
Hovering over a ransomTab animates in the ransomStrip of the same index
1
1838
posted 16 years ago by teedy
Function to add custom body class in th Thesis theme for WordPress...Thanks to @girliegeek!
1
1785
posted 16 years ago by joelhaus
Hey everyone, I was noticing that there are a lot of ways that people are using to write their own string truncation functions wit the use of other functions like 'substr_replace', but it kinda seemed like a lot of them went a bit too far out to make...
1
1455
posted 16 years ago by Admiral
Put the following in your controller to define the content-type for *that* specific controller.
0
1180
posted 16 years ago by chrisamini