Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 465 466 467 468 469 ... 553
For a complete list of time/date parameters, visit: http://php.net/manual/function.date.php
1 1192 posted 17 years ago by Jaymoon
This function will sort an array of DOM elements in order of the DOM position. Useful when using calls such as $$("img.L,img.M") which doesn;t return a sorted element array. It uses prototype but you can replace the Prototype.Browser stuff with a...
0 1736 posted 17 years ago by kouphax
Learn how to create CSS curly quotes using only CSS and without images, extra divs or classes
6 1575 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 1558 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 1179 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 2105 posted 17 years ago by 1man
0 4448 posted 17 years ago by webonomic
simple :)
7 1803 posted 17 years ago by antpaw
1 1260 posted 17 years ago by pmaciver
0 1549 posted 17 years ago by septimoc
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 1006 posted 17 years ago by stoyan
1 1366 posted 17 years ago by ryanjs
6 1616 posted 17 years ago by Alphawolf
0 995 posted 17 years ago by mcfearsome
0 965 posted 17 years ago by mcfearsome
I always forget how to do this...
2 1564 posted 17 years ago by davidsword
0 866 posted 17 years ago by ivankuznetsov
This script is used for the sorted text.
0 1232 posted 17 years ago by kyokutyo
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 1357 posted 17 years ago by mdrisser
1 2713 posted 17 years ago by Bonky
This is basically the code given in the book "learning jQuery " by Chaffer J & Swednerg K.
5 1949 posted 17 years ago by stavelin
Llamada a un servicio web desde ASP clásico. <u>xmlSOAP</u> es el SOAP Envelope construido
0 1484 posted 17 years ago by sulfurito
1 ... 465 466 467 468 469 ... 553