Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Use this snippet to quickly insert onclick="window.open();" into your HTML...
---
Snippets can save you time and hassle of typing out bits of code that you frequently use by adding them into your files by simply double-clicking the name of the Sn...
1
998
posted 17 years ago by hellion
I'm sure i can clean this up quite a bit, but it works for the moment.
This function looks to see if you are on a selected page. If you are it hides the navigation, then loops through and shows each li one after the other. So they don't all fade i...
0
926
posted 17 years ago by 1man
I modified some code created by Macromedia Dreamweaver into a flexible function to rebuild the query string. The function is very useful for pagination or passing variables from one page to another.In this version it's possible to add more than one v...
1
868
posted 17 years ago by gbot
A small function I made to chmod directories and files recursively, with different permissions.
2
1345
posted 17 years ago by Tenzer
Change selection color using CSS. Works in most modern browsers except for IE.
3
1119
posted 17 years ago by neal_grosskopf
I did not author this code. I came across it and have found it to be useful.
2
1009
posted 17 years ago by gtalmes
This snippet is originally from Tom Carden. All due credit goes to him.
2
1855
posted 17 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
1105
posted 17 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
858
posted 17 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
863
posted 17 years ago by 1man
An example of how to extent the jQuery objects to include our own methods.
0
1114
posted 17 years ago by 1man
This is a snippet I did for a project-- it relies on Drupal and the Flickr module for Drupal.
4
961
posted 17 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
1380
posted 17 years ago by neal_grosskopf