Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 230 231 232 233 234 ... 552
This code will retrieve the url of a featured image in order to use it as a background.
0 1859 posted 15 years ago by jli
On focus, remove text inside input containing a title, put it back if it has not change
0 1582 posted 15 years ago by touffies
0 1734 posted 15 years ago by touffies
0 2035 posted 15 years ago by touffies
Get all the links and check if there's a rel attribute external, if not, compare href to the current domain name.
0 1614 posted 15 years ago by touffies
This function will find elements with your default classOver and will change the file name to add _ro into it. ie: filename.gif -> filename_ro.gif
0 1494 posted 15 years ago by touffies
Custom dropdown field, replace defaut dropdown style with custom design. This function does not replace the select field.
1 2990 posted 15 years ago by touffies
Custom Radio box, replace with images
2 2020 posted 15 years ago by touffies
Custom checkbox field, replace by images
2 2173 posted 15 years ago by touffies
Split a single phone number input field into 3 small input fields and create an hidden field for validation and keep server side variable name.
0 2136 posted 15 years ago by touffies
0 1643 posted 15 years ago by resting
1 1825 posted 15 years ago by nveselinov
0 1794 posted 15 years ago by geekyjohn
1 1739 posted 15 years ago by apro2000
Image Upload and Resize
0 2094 posted 15 years ago by vedgiee
0 1986 posted 15 years ago by minipark
1 1650 posted 15 years ago by ionutzp
Hello, I have been developing with jQuery for just over a year now, I thought I would share something with you that I have found pretty time saving over the past few months. If you have ever had javascript conflicts due to several different jav...
2 1938 posted 15 years ago by mike-tempest
0 1952 posted 15 years ago by alexkojin
it parses given string and returns 1st number it encounters ( it will replace comas with dots so floats formatted as 12,345 could be 12.345 ( some countries use that ) ) then u can parse returned value as a number / float / int - do what You need...
0 2102 posted 15 years ago by stryju
The resulting tree is represented through a dict where each father gets a key (with all the children as args)
0 2229 posted 15 years ago by magicrebirth
0 2194 posted 15 years ago by simondiercks
2 3469 posted 15 years ago by simondiercks
0 1504 posted 15 years ago by klw
glider levin method
1 1559 posted 15 years ago by interfacecreation
Modifies the file name in case an existing filename is in the specified path. (Ex: myfile.dat myfile(1).dat myfile(2).dat myfile(3).dat)
0 2607 posted 15 years ago by Sazabi02
1 ... 230 231 232 233 234 ... 552