Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 233 234 235 236 237 ... 553
Drupal forms have their radio button options vertical (one on each line) by default. This will put them horizontally inline.
0 1663 posted 15 years ago by picxelplay
You can simply put it in your reset stylesheet. It visualizes the classic rotating gif while the document's images are coming from the server at page load.
3 1614 posted 15 years ago by claudiowebdesign
Quick plugin to paginate a liste.
0 1116 posted 15 years ago by Moonsheeld
0 1126 posted 15 years ago by sinisterdeath
quick snippet to select all the check boxes on a drupal permissions page. helpful when setting up a role for Admin
0 1379 posted 15 years ago by cwd
0 1186 posted 15 years ago by austinhappel
No need for a stopMove(), this is handler automatically.
1 2443 posted 15 years ago by dyteq
Just a bit of essential code lines to start everytime from. // I don't use it :P
5 2576 posted 15 years ago by claudiowebdesign
save as a file and run....
0 2646 posted 15 years ago by magicrebirth
2 938 posted 15 years ago by icywiener
Transform a color given in hex to RGB. An optional opacity argument also enables RBGA.
0 1461 posted 15 years ago by madr
Grupo de titulos de cabecera
0 903 posted 15 years ago by ezequiel
Allow events to bubble up the DOM to overseeing handlers.
2 1447 posted 15 years ago by Meander365
0 1109 posted 15 years ago by aurorius
If you're importing nodes from a file and have pathauto setup, the existing paths for the nodes will be rewritten with pathauto. To avoid this, simply add the following to the node export array for each node:
0 1208 posted 15 years ago by jonathanpglick
Sale Price/Variation custom this code just work if all variation price is a same as product price
0 811 posted 15 years ago by haftim
Sale Price/Variation custom this code just work if all variation price is a same as product price
0 764 posted 15 years ago by haftim
Counts the number of times that a file has been downloaded, using PHP and mySQL
0 1152 posted 15 years ago by eme_dlr
0 1384 posted 15 years ago by sandrews_06
Combines .ics files from OS X Server iCal Server into a single merged ics which can then be subscribed to. I set this up specifically so I could display ical server calendars inside of Zap Calendar on a joomla site. This script could be called from...
0 1184 posted 15 years ago by uptimejeff
Slide / scroll to the top of the page.
1 1337 posted 15 years ago by BFTrick
I set up an $isHome boolean variable at the beginning of a template's index.php file so I can easily test the condition throughout the file. To me, the semantic variable name makes the logic more readable.
0 1189 posted 15 years ago by beneberle
1 ... 233 234 235 236 237 ... 553