Welcome To Snipplr


Everyone's Recent Snippets



1 ... 433 434 435 436 437 ... 554
0 904 posted 16 years ago by lister
2 1108 posted 16 years ago by localhorst
This function takes 2 arguments, first is the string to be encoded (or decoded) the second is optional and can be used to change the rotation amount to something other than 13.
0 676 posted 16 years ago by Valdemarick
This script stores the elements of the email address as JavaScript variables and assembles them on the fly every time the page loads. The page rendered looks the same to users, but the address never actually lives in the page source code. It can...
0 874 posted 16 years ago by Bluewall
Simple function for turning RETURN key presses into TAB key presses. Focuses input element next in the DOM (usually makes sense), unless we are at the end of the form, at which point it focuses the first element in the form for cyclical purposes.
2 3077 posted 16 years ago by kouphax
Just provide $availableLanguages as an array('en', 'de', 'es')
5 1960 posted 16 years ago by ping_ch
Nice tip for doing global search/replace on database, taken from the excellent warner brothers records writeup.
0 805 posted 16 years ago by zachharkey
Simple yet effective way to create a horizontal slider to controll the volume of your sound channel
4 1322 posted 16 years ago by Ktoso
In french !!!
0 862 posted 16 years ago by rsavard
Simple jQuery snippet for cleanly and automatically setting up your google analytics
4 1032 posted 16 years ago by garside
1 960 posted 16 years ago by jclewell
0 882 posted 16 years ago by jonniespratley
0 975 posted 16 years ago by jonniespratley
1 882 posted 16 years ago by jonniespratley
I am currently still working on this, and will make changes.
1 1088 posted 16 years ago by jonniespratley
Here is a simple method for displaying footer copyright year. This way at the end of the year you are not updating footers for the first 3 weeks in January :)
0 933 posted 16 years ago by jadedbat
I always forget this.
0 894 posted 16 years ago by tclancy
It's not the prettiest piece of code but it works for now
2 1132 posted 16 years ago by ddegner
Learn how to place a DIV in the exact middle of the screen using this JQuery horizontal & vertical align plugin.
6 1068 posted 16 years ago by neal_grosskopf
I use it when i've problems with permissions of user-uploaded files.
2 984 posted 16 years ago by ping_ch
Converts a standard select box to a clickable image thumbnail list. <code> &lt;select&gt; &lt;option&gt;/images/test1.jpg&lt;/option&gt; &lt;option&gt;/images/test2.jpg&lt;/option&gt; &lt;/select&gt; &lt;script&gt; $('#image').imageSelect();...
1 1030 posted 16 years ago by ping_ch
1. Save under .gnome2/nautilus-scripts/ 2. Right click some video file 3. Select Scripts->toFlv Works with multiple files.
1 1220 posted 16 years ago by ping_ch
A small script that sets up a new VirtualHost with Apache and adds an entry for the site to your hosts file. You need to adjust the paths to your needs. Must be run as root.
0 882 posted 16 years ago by ping_ch
This as it sits isn't an improvement on what happens by default. It's only useful combined with a compensating transaction or sad path in the catch block, or in allowing a loop to continue.
0 1009 posted 16 years ago by rengber
A simple to use framework for a contact form. This is missing some serious validation and such but is a good startin' point for any simple contact form. The input field named 'botty' is an input field we hide with css.. if data is sent to the ha...
7 1672 posted 16 years ago by jadedbat
1 ... 433 434 435 436 437 ... 554