Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
An easy debug trick: gives you a variable that you can print in any tpl.php to find out what vars you have available there.
1
1107
posted 17 years ago by berkes
This is a code example which demonstrates how to send Email with attachment using your GMAIL Account.
6
1466
posted 17 years ago by planetcall
CSS files for larger sites can become pretty large themselves. Gzipping or compressing these files has shown to provide a reduction in the neighborhood of 70-80% of the original file size, a fairly significant 'weight loss'.
16
3812
posted 17 years ago by johnself
https://www.chrisjmendez.com/2008/02/11/as3-regular-expression-basic-example/
0
1069
posted 17 years ago by chrisaiv
This makes it easy to retrieve certain value from a url with different values appended to it.
0
1087
posted 17 years ago by iTony
There may be an easier way to do this, but if there is I can't find it. This sets the svn property $Id$ of every javaScript file in the app/lib directory.
0
1143
posted 17 years ago by micmath
This would make IE treat the hover element in whichever tag you implemented.
0
597
posted 17 years ago by iTony
customized breadcrumbnavigation for PHPWCMS.
Gives more control over styling and display.
{MYBREADCRUMB:n}
0
976
posted 17 years ago by localhorst
curvyCorners is a free JavaScript program that will create on-the-fly rounded corners for any HTML DIV element, that look as good as any graphically created corners.
3
1330
posted 17 years ago by jonhenshaw
Will toggle an element's style.visibility, or set it to visible/hidden as selected
0
877
posted 17 years ago by martinkas