Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Could possibly be simplified to maximise efficiency. It relies on a separare WP Sleek framework function sleek_get_theme_menu_name. This could ideally be improved to allow the theme location to passed as a parameter somehow.
0
1169
posted 13 years ago by Huskie
This is a jQuery custom function used for clearing the default input values of input fields without having to add a class or inline javascript like onclick or onblur. Just write your input and give it a value like you normally would and then add this...
1
891
posted 13 years ago by thursday0384
Kill connections to a database to perform maintenance that requires a connectionless DB
0
522
posted 13 years ago by sommertim
Useful jQuery for mutliple items on a page that are using the same jquery function and classes to perform an action. By traversing the dom like this the function will only be applied to the item you are clicking on and not all elements on the page th...
0
887
posted 13 years ago by i-am-andy
See also http://www.gnu.org/software/bash/manual/bashref.html#Bindable-Readline-Commands for the standard bindings and more detailed explanation of what they do.
0
940
posted 13 years ago by cczona
This was for a "Sport Landing Page" where people can select their outfits. There is intial intro box that gets cleared on the first selection. The thumbnails popout on hover. And there is a clear function that takes out all the products selected to j...
0
858
posted 13 years ago by cpres
A simple but useful command. List processes running on the system.
0
634
posted 13 years ago by klovera
I was struggling to find a way to restart an Adobe Air application programmed using flex 4.5 and AS3, this is a modification of code found around the web.
1
1218
posted 13 years ago by CreativeAddiction
"Those who create responsive design for iPhone may be aware of the viewport scaling bug in iPhone Safari. The bug occurs when you set the viewport width to device-width and rotate the phone to landscape view."
1
735
posted 13 years ago by ichnoweb
Just a custom function i use to have formated var_dump while debugging
0
538
posted 13 years ago by fabienthomas
Just a short little script that takes a mysql query and turns it into a csv file that downloads automatically. If your interested in the details you can hit up the link.
0
923
posted 13 years ago by FatFolderDesigner