Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This snippet is originally from Tom Carden. All due credit goes to him.
2
2684
posted 18 years ago by Wiederkehr
I was looking for a simple time delay in ActionScript, and I found this one to be useful (and working). The logic is plain simple to understand.
ASv1.
1
2172
posted 18 years ago by webStruck_
Use this API to access names and addresses in a user's webmail (Gmail, AOL, Hotmail, and Yahoo). Make it easy to send friend invites for a social site and import contact lists. Rapleaf maintains up to date code on the importer and never stores passwo...
0
1418
posted 18 years ago by dannymo2
Quick example to show how 'this' depends on how the function in which you called it in was being invoked. From jQuery in Action.
1
1513
posted 18 years ago by 1man
An example of how to extent the jQuery objects to include our own methods.
0
1865
posted 18 years ago by 1man
This is a snippet I did for a project-- it relies on Drupal and the Flickr module for Drupal.
4
1755
posted 18 years ago by dewolfe001
Style External, PDF, and Mailto links using CSS and a background image. For a great set of icons to choose from visit http://www.famfamfam.com/lab/icons/silk/.
3
2214
posted 18 years ago by neal_grosskopf
Stolen from the mentioned URL - this is used to make SPRY Framework work together with MYSQL.
2
2114
posted 18 years ago by Nils
Easy functions, comments in code.
From: http://www.ilovejackdaniels.com/asp/vbscript-regular-expressions/
1
1629
posted 18 years ago by jc001
Usage: onmouseout='if (isMouseLeaveOrEnter(event, this)) YourActionHere();' onmouseover='if (isMouseLeaveOrEnter(event, this)) YourOtherActionHere();'
1
1871
posted 18 years ago by Winkyboy
Para realizar validaciones en Javascript rápidamente. Requiere que en la etiqueta metamos un onSubmit="return checkform(this);" . Este trozo de código es para dos campos input con nombres campo1 y campo2.
0
1042
posted 18 years ago by betacontinua
This is a command line parsing routine I found online. Original comments left in tact.
0
1369
posted 18 years ago by jc001
Sure that programmers know this, but me as a sysadmin does not use svn that much.
3
2410
posted 18 years ago by therobot
If you have a complex function you may need to pass it lots of arguments. Instead of having to remember how many you need to pass, and passing 'null' for un needed arguments, pass the function an object.
Now you can set the defaults inside the fun...
0
1714
posted 18 years ago by 1man
Removes diacritics from file name before adding it to the archive. Archive file name retains diacritics.
0
2855
posted 18 years ago by karelklic
Diese Funktion wendelt Entities in HTML Quellcode um, ohne dabei den HTML Quellcode zu zerstören.
1
1763
posted 18 years ago by OscarWilde