Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I have created this thing over the course of several attempts.
1
944
posted 16 years ago by trdunsworth
Just replace TABLENAME.OLD_COLUMNNAME and NEW_COLUMNNAME with your new values.
0
882
posted 16 years ago by naspinski
Here's a short program to print a list of all of the documents in your Google Documents account
0
683
posted 16 years ago by hemanthhm
Centering a div with css is easy, but there are some compatibility quirks...
1
1118
posted 16 years ago by jarnaldich
This enables you to center a horizontal unordered list that uses "float:left". Normally, this is almost impossible with pure CSS, but Javascript makes it easy. jQuery makes it even easier.
0
853
posted 16 years ago by corey
This is for a particular search on a project. Just saving here for future use.
0
734
posted 16 years ago by joeymarchy
If you've ever been frustrated at fixing multiple double margin / duplicate character bugs in your page, using this handy jQuery snippit, you can wipe them away instantly!
This code requires the latest version of jQuery.
3
1244
posted 16 years ago by haxd
Everything works as expected for the setTimeout() function until you try to call a method inside your ‘class’ (there are no real classes in JavaScript). Something like this won’t work:
setTimeout(this.methodToCall, time);
Passing a string r...
0
1402
posted 16 years ago by eden159
Better way to echo a .current_page_item class on a list nav.
3
897
posted 16 years ago by davebowker