Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Very simple to use.
**Calling:**
$files = dirContents(DIR_PATH, [FILTER, [TYPE]]);
**Examples:**
$files = dirContens("my-dir");
_$files_ is array containing all, both files either directories
$files = dirContens("my-dir",...
0
808
posted 15 years ago by Lostindream
This is a method that I use to easily wrap an HTML container with nice curly quotes. I much prefer this method over using images because the quotes can be easily stylized using css fonts, colors, and sizes. Also, the markup is semantically correct.
1
1188
posted 15 years ago by MikeyLikesIt
A simple script to run with [drush](http://drupal.org/project/drush) to clean all Drupal nodes containing style tags.
1
1085
posted 15 years ago by mongolito404
Documentación en: http://eric.garside.name/docs.html?p=epiclock
0
768
posted 15 years ago by arantxaortega
note that for the corners to work in IE, you need to install the htc code from http://code.google.com/p/curved-corner/
.curved {
-moz-border-radius:10px; /* Firefox */
-webkit-border-radius:10px; /* Safari and chrome */
-khtml-border-r...
4
1244
posted 15 years ago by MikeyLikesIt
You can replace the library item with whatever you want, or draw a shape in actionscript to use.
TweenMax is used in this snippet, get it here: http://www.greensock.com/tweenmax/ and thank Jack Doyle for being great by donating.
0
1043
posted 15 years ago by IsoJon
Resizing fields using a custom module
You could also resize the field using a custom module.
For example, if you created mysite.module, you could use something like this to reduce the field size to 30 characters
4
1230
posted 15 years ago by marcelodornelas