Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
2514
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
1173
posted 16 years ago by BFTrick
This snippet shows how to get access to the underlying log4j logger when using apache commons logging.
0
1032
posted 16 years ago by ff1959
Allows for delay functionality in effects, etc.
$("#navpanel").delay(2000).animate({top:"-250px"}, {easing:"swing"});
2
1321
posted 16 years ago by ninjamuk
Можно выкладывать даже файлы, Ñодержащие кириллицу в названии. Они будет подвергнуты транÑлитерации, пробелы и другие небезопаÑные ÑимÐ...
0
1410
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
1188
posted 16 years ago by Kit
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
1014
posted 16 years ago by MacEvelly
method 'E' (in fact a decorator) catch the execption and return it, so it's possible to use the good old assert statement.
0
1066
posted 16 years ago by manatlan