Welcome To Snipplr


Everyone's Recent Snippets



1 ... 71 72 73 74 75 ... 552
0 2636 posted 14 years ago by akus85
Formats a 10-digit phone number into a good format (123) 555-1234
0 3939 posted 14 years ago by cpres
The closest to a generic List in javascript. When calling constructor - new List(Module) - add model in constructor parameter
0 1964 posted 14 years ago by mikkeldamm
For a project I needed to generate a unique code for each user the client would input manually. Each user would have four fields (first name, last name, email, zipcode). Omitting the email addresses ensures unique output because we reduce the chances...
0 1612 posted 14 years ago by fmdfrank
The class, "activeDDParent", needs css that will cause the parent to have the same hover effect it has when the mouse hovers over it. This class allows for the out-of-the-box sharepoint rollof delay. "portalnavwrapper" is just the class of a div I ha...
0 2613 posted 14 years ago by rumremix
0 1992 posted 14 years ago by page_lab
Adding HTML into custom blocks rather than hard coding makes it so people don't bother us devs to change sheite!
1 2170 posted 14 years ago by cpres
wp template naming
0 2401 posted 14 years ago by thesmu
when someone trying to or two conditions using active record database library in codeigniter
0 2057 posted 14 years ago by pruntrut
http://www.binarymoon.co.uk/2009/10/timthumb-wordpress-mu/
0 1784 posted 14 years ago by rabc
Template For Wordpress widgets.
0 1990 posted 14 years ago by paullombard
1. Download the zip file and unzip it 2. All the CSS and HTML code with explanation is included so all you have to do is COPY and PASTE only.
0 1781 posted 14 years ago by flanker
Look if the given input could be a legal VAT-number. Accepts input with or without '.' between the numbers and must contain a County-code
0 2958 posted 14 years ago by MGHollander
Straatnamen en huisnummer splitsen, hieronder diverse types straatnamen Bron: http://www.pfz.nl/archief/965267-adres-splitsen-in-straatnaam-en-huisnr/
0 2355 posted 14 years ago by MGHollander
Starter page using HTML 5
11 4949 posted 14 years ago by daniellegonzalez
Instead of the standard return of duplicates, this will actually show the rows that are duplicated, making it easier to see the data
0 1916 posted 14 years ago by TheNullByte
Credit goes to Bruno Imbrizi.
0 2573 posted 14 years ago by adrianparr
Credit goes to Bruno Imbrizi.
0 5013 posted 14 years ago by adrianparr
Use this no-conflict wrapper instead of the default ready function in JQuery to initialize scripts in your Drupal 7 theme
0 1993 posted 14 years ago by chasecrawford
Fetches resources from a remote host with specified crawl depth.
0 1529 posted 14 years ago by paullombard
Example calculate yesterday, but if you multiply by some number you can get in an easy way, weeks, months or years
0 3491 posted 14 years ago by satie83
A quick note added in February 2011. Google has now removed the iwloc part of the url in most cases. To remove the pin, you can now add &amp;iwloc=near to the end of the iframe src attribute. So…. <iframe></iframe> …would become… <ifra...
0 2004 posted 14 years ago by thesmu
HTTP headers to disable caching.
1 3361 posted 14 years ago by ryantxr
Use this snippet to check if user supplied URL is a valid Youtube URL. Has support for youtu.be shortened URL's too.
1 2657 posted 14 years ago by Morg
How to dynamically generate combo box contents depending on the selection made by a user on earlier combo box.
0 1838 posted 14 years ago by BlackSheep
This javascript will create a complex google javascript map with multiple locations selected marked. The map will be centered in the middle and zoomed so that all point can be seen. It also stylizes the map making it mostly desaturated with bits of o...
0 3782 posted 14 years ago by FatFolderDesigner
This javascript will create a google map on the div with the ID "the_map" and centered on an address with a marker on it. In this example the address is for Jet City Improv. More information on setup and customization at the link.
0 2797 posted 14 years ago by FatFolderDesigner
Below are several different types of google static maps. The first is a map with a single marker on the Space Needle. The second is one with 3 marks, one on the Space Needle, one on the Seattle Science Center, and One on the EMP Museum. The last...
0 2338 posted 14 years ago by FatFolderDesigner
To be used in the header.php
0 1932 posted 14 years ago by certainlyakey
1 ... 71 72 73 74 75 ... 552