Welcome To Snipplr


Everyone's Recent Snippets



1 ... 510 511 512 513 514 ... 553
using bgiframe to solve a bug in explorer: you cannot apply z-index to place divs over selects in a form!!!
1 1509 posted 17 years ago by victorchamorro
These two functions allow you to remove images from html page. The function returns an array of images with the absolute src and,if there are any, the alt and title attributes. Arguments to pass to get_images() are $file = html source and $url = th...
3 1834 posted 17 years ago by gandalf
Basic usage of the in and instanceOf operators.
0 1238 posted 17 years ago by 1man
3 1528 posted 17 years ago by miziomon
Using a string built at runtime to reference objects in Flex. From the help docs.
1 1832 posted 17 years ago by justcaldwell
0 877 posted 17 years ago by sou
This was created as a temporary solution to the wide dropdowns that sometimes appear in OpenAir timesheets and cause horizontal scrolling. Adding this script as a bookmarklet and clicking it will resize all selects (dropdowns) on a page to 340px wide...
0 1098 posted 17 years ago by Todd
1 1016 posted 17 years ago by danideu
SEE http://json.org/ for PHP JSON Libraries. grunt knuckle drag brute force ugly escapes for quotes make a php array a json string Produces trailing commas which some Javascript Librarys can't deal with.* _*NOOB NOTE [a comma is added at the...
2 1653 posted 17 years ago by inkdeep
Display first article one way and following ones a different way
3 1424 posted 17 years ago by JuliaKM
1 976 posted 17 years ago by penguin999
qlmanage -p foo.png, the image immediately pops up in a Quick Look pane. Even better, Quick Look supports slide shows. So if you cd into a folder of images and run qlmanage -p *.jpg, you'll be rewarded with a full-on presentation of your pictures....
0 1026 posted 17 years ago by jrphelps
5 1455 posted 17 years ago by jrphelps
The selector portion of the CSS rule targets which XHTML tags/classes this rule will be applied to. At first glance, it looks like all img tags as well as all tags with a class of "png". You’ll notice the * html in front of both of these. Wait, the...
15 7292 posted 17 years ago by jonhenshaw
This routine is loosely based on elightbo's "Calculate Business Days" snippet in ASP, with some process & logic modifications (most notably accounting for situations when both dates fall on a weekend) and a translation to JavaScript.
0 5781 posted 17 years ago by Bluebeard
this pointers are making me dizzy, so just for a reference i'll keep them here.
1 1246 posted 17 years ago by iTony
A simple code for changing currencies using Google:)
2 1147 posted 17 years ago by misnyo
So you don't have to type the password everytime you log in to that remote ssh server. Don't enter a passphrase when prompted, just hit enter. This example is for Mac OS X but is likely to work on *nix plats too.
5 1324 posted 17 years ago by micmath
1 782 posted 17 years ago by bapt4510
Set a reminder. Use +hhmm to set a reminder for some hh (hours) or mm (minutes) in the future; e.g., set an alarm for 45 minutes from now as: leave +0045
0 991 posted 17 years ago by rhockens
Genera links en base a http, www, ftp
2 1608 posted 17 years ago by nicolaspar
1 1356 posted 17 years ago by arcturus
1 ... 510 511 512 513 514 ... 553