Welcome To Snipplr


Everyone's Recent Snippets



1 ... 417 418 419 420 421 ... 553
hope you enjoy - thanks to Tom Duff (for implementation in C), Dean Edwards, and Nicholas Zakas for the idea
0 1078 posted 16 years ago by jschilling
https://www.chrisjmendez.com/2004/09/27/jquery-converting-all-the-items-in-a-select-element-into-a-string-array/
0 1834 posted 16 years ago by chrisaiv
I believe that Accrisoft has a fetch all images from db function built in, but you could always use some php to create the image array
5 1687 posted 16 years ago by conspirator
2 1437 posted 16 years ago by level09
Generates an options list of years for a select box, going from current year backwards through the number of years specified in the first variable. Useful for birthday fields on signup forms. eg. 2009, 2008, 2007, 2006 ... 1912, 1911, 1910, 190...
3 2030 posted 16 years ago by iridium
I made this ;) Python's operator class is what you need to know if you want to avoid using lambda functions or define your own helper functions in many cases.
1 1552 posted 16 years ago by fnurl
This method maintains its integrity with all combinations of images on/off and CSS on/off. This method works by laying an empty span over the top of the parent element with the required image applied as a background to that span. There is howev...
4 2229 posted 16 years ago by justinseiter
2 1212 posted 16 years ago by justinseiter
This sticky footer solution is working in all major browsers, including Google Chrome! It works with floated 2-column layouts and we don't get overlap in re-sized browser windows unlike older solutions you find when you Google sticky footer. And you...
8 2533 posted 16 years ago by justinseiter
2 1806 posted 16 years ago by craig1709
this is how to automatically get short urls for your blog posts in wordpress, What you need is to decide which tinyurl service you will be using and get its api URL, for example rinyurl.com , bit,ly, tr.im, here are the api URLS for the mo...
0 1751 posted 16 years ago by nerdsane
This is a snippet to assign an active class to active links when the navigation is included in a php file.
1 1451 posted 16 years ago by grazz
This describes how to embed font in to Flex(mxml) file without using the <mx:style> tag (fully AS3).
1 1787 posted 16 years ago by shabith
Append html to a div tag (using System.Web.UI.HtmlControls)
1 2190 posted 16 years ago by hobeau
1 1697 posted 16 years ago by cobra90nj
0 1087 posted 16 years ago by resurge
I needed to clean up strings with an unpredictable number of spaces interspersed throughout. Powershell's Replace method to the rescue.
1 4853 posted 16 years ago by ericmorin21
Remove item (number or string) from array, using jQuery (method grep).
3 17028 posted 16 years ago by gustavopaes
2 1377 posted 16 years ago by kokikr
Controls what actions the template's index.php file takes depending on the current state of a module or a set of modules
2 1341 posted 16 years ago by sfjalar
1 ... 417 418 419 420 421 ... 553