Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Befindet sich die aktuell angezeigte Seite dabei unter den aufgelisteten Seiten, dann erhält dieser Listenpunkt die Klasse class="current_page_item":
0
1099
posted 15 years ago by gabbo
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
1282
posted 15 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
947
posted 15 years ago by BFTrick
This snippet shows how to get access to the underlying log4j logger when using apache commons logging.
0
848
posted 15 years ago by ff1959
Allows for delay functionality in effects, etc.
$("#navpanel").delay(2000).animate({top:"-250px"}, {easing:"swing"});
2
1089
posted 15 years ago by ninjamuk
Можно выкладывать даже файлы, Ñодержащие кириллицу в названии. Они будет подвергнуты транÑлитерации, пробелы и другие небезопаÑные ÑимÐ...
0
1112
posted 15 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
936
posted 15 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
831
posted 15 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
847
posted 15 years ago by manatlan