Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Learn how to create CSS curly quotes using only CSS and without images, extra divs or classes
6
1706
posted 17 years ago by neal_grosskopf
Allows you preserve and update a query string and it's existing values easily, instead of constantly appending the new value to the end of the query string
1
1687
posted 17 years ago by simplistik
The only function the Tag Cloud singleton exposes it the process() function which take 3 arguments.
1. Cloud Data - Required. Needs to have a display value property and a count property. The actual property names are configurable but by default...
0
1277
posted 17 years ago by kouphax
Two different ways to open an external link (ones that start in http) in a new window. I know this isn't a great thing to do, but some clients _need_ to have it.
3
2275
posted 17 years ago by 1man
This is going to run all doctests for all methods in a module. Doctests are a beautiful thing.
Note: doctest will only complain if a test fails. If you see on output then all your tests must have passed.
0
1085
posted 17 years ago by stoyan
I'm working on a web app that requires me to track nearly 300 form fields. To make this easier, and to allow me to handle special cases, I needed to assign them to an internal array. The switch/case statement makes this a breeze.
1
1452
posted 17 years ago by mdrisser
This is basically the code given in the book "learning jQuery " by Chaffer J & Swednerg K.
5
2094
posted 17 years ago by stavelin
Llamada a un servicio web desde ASP clásico. <u>xmlSOAP</u> es el SOAP Envelope construido
0
1572
posted 17 years ago by sulfurito
I had an icon representing a little blue dot and needed to create 100 copies each with a number in them.
Python saves the day yet again.
0
1508
posted 17 years ago by stoyan