Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 367 368 369 370 371 ... 553
In IE6 and IE7 when wrapping an anchor to the next line, the first anchor with the class="anchorClass" will not display the background image nor have the clickable padded area. In your IE6 & IE7 bugfixes CSS adding the property/value display:inlin...
0 2676 posted 16 years ago by Rogier
This code will loop through any posted variables and print the name of the field as well as the value of the field.
0 1277 posted 16 years ago by BFTrick
1 1226 posted 16 years ago by stancox
0 1132 posted 16 years ago by ff1959
1 1532 posted 16 years ago by stancox
1 1059 posted 16 years ago by stancox
0 1071 posted 16 years ago by stancox
This snippet shows how to get access to the underlying log4j logger when using apache commons logging.
0 1147 posted 16 years ago by ff1959
Allows for delay functionality in effects, etc. $("#navpanel").delay(2000).animate({top:"-250px"}, {easing:"swing"});
2 1456 posted 16 years ago by ninjamuk
Можно выкладывать даже файлы, содержащие кириллицу в названии. Они будет подвергнуты транслитерации, пробелы и другие небезопасные симÐ...
0 1547 posted 16 years ago by almazom
Not particularly novel, but quite clean. Allows you to put images in any location on the server and saves having to generate thumbnails at upload time. The URL to this file should be: `<filename.php>/<request>/<path>` Valid request types:...
1 1296 posted 16 years ago by Kit
bei Reddot als benutzerdefinierten Feldtyp einsetzbar
0 1225 posted 16 years ago by humanoid
This uses the button's instance name to assign functions. Instead of using a bunch of event listeners, you can use one function to delegate actions according to the button's instance name.
0 1124 posted 16 years ago by MacEvelly
2 1402 posted 16 years ago by vas3k
1 1853 posted 16 years ago by jmacgr
method 'E' (in fact a decorator) catch the execption and return it, so it's possible to use the good old assert statement.
0 1171 posted 16 years ago by manatlan
0 1062 posted 16 years ago by manatlan
0 1080 posted 16 years ago by manatlan
without scandir() function
0 1208 posted 16 years ago by stancox
Takes a number in bytes and returns the number in (KB,MB,GB) for human-readable format.
1 1279 posted 16 years ago by stancox
2 1669 posted 16 years ago by angusdev
0 1286 posted 16 years ago by codegoat
1 ... 367 368 369 370 371 ... 553