Welcome To Snipplr


Everyone's Recent Snippets



1 ... 539 540 541 542 543 ... 553
A useful but often overrated JavaScript function is the browser detect. Sometimes you want to give specific instructions or load a new page in case the viewer uses, for instance, Safari. Copy this script into your JavaScript files. It works immedi...
1 1339 posted 19 years ago by jonhenshaw
You can use this script to always keep the copyright notice on the footer of your website current. For example, instead of having to update the year at the beginning of each year, this script will display current year. I'm sure there's an easier way...
2 1388 posted 19 years ago by jonhenshaw
1 1317 posted 19 years ago by rduv
1 1271 posted 19 years ago by rduv
1 1297 posted 19 years ago by roberocity
0 1314 posted 19 years ago by roberocity
Simple but utilitarian function returns a numeric array of associative arrays containing an entire result set.
1 1574 posted 19 years ago by sorehead
This function first checks to see if PHP is set to automagically quote stuff. If it is, we first strip pre-quoted stuff, then (assuming our text isn't numeric), we properly quote everything. A good bit of room for improvement here, but at the very l...
1 1118 posted 19 years ago by sorehead
ADD 0 to 1!
0 1121 posted 19 years ago by sorehead
0 2679 posted 19 years ago by sorehead
wrap the text that will become a pullquote in a span element and give it the class name "pullquote"
1 1238 posted 19 years ago by designerd
1 1181 posted 19 years ago by designerd
10 2391 posted 19 years ago by designerd
Элементарно, стильно, прикольно. Спасибо создателю.
0 1207 posted 19 years ago by Memphys
1 1374 posted 19 years ago by Roshambo
Patch para quitar el molesto cartel en una sola linea de codigo. Lo interesante es que hace una cola de funciones para el "OnLoad". Mas que nada sirve si tenes un sitio armado y tenes que meter este patch en todas tus paginas. Con la funcion "fixO...
2 1344 posted 19 years ago by inakiabt
Source: Browser inspecific referencing @ howtocreate
1 1096 posted 19 years ago by mlange
3 1414 posted 19 years ago by mlange
1 1216 posted 19 years ago by mlange
Include Path PHP 5 class. Usage: $path = new fuselogic_include_path(); $path->add('/home/ekobudi/www/fuselogic'); $path->add('/home/ekobudi/www/pear'); $path->remove('/home/ekobudi/www/old_fuselgic');
0 1222 posted 19 years ago by ekobudisetiyo
1 1188 posted 19 years ago by mlange
This snippets try to download itself from http://snipplr.com using xml-rpc
6 1412 posted 19 years ago by arcturus
Stop the background image flickering on IE by including this code in the header of your page. See link for more information.
2 1736 posted 19 years ago by 1man
1 801 posted 19 years ago by lucidcrew
1 1447 posted 19 years ago by sudarkoff
7 2358 posted 19 years ago by gdonald
1 ... 539 540 541 542 543 ... 553