Welcome To Snipplr


Everyone's Recent Snippets



1 ... 417 418 419 420 421 ... 554
since the script observes mouseout, it should fire mouseleave events before mouseenter to preserve correct order.
1 1053 posted 16 years ago by pdswan
This will return a list of all the tables in a certain database along with their row count.
1 1021 posted 16 years ago by blackf0rk
Easily create a SINGLE USE ONLY (Singleton) Class Object with this template.
1 1007 posted 16 years ago by allnatural
3 853 posted 16 years ago by g0mer
This turns the about page into a featured category post page. The principles for just a regular custom page template with sidebars is there too.
3 1598 posted 16 years ago by kristarella
This provides a teaser, with content from a custom feild, or the excerpt if no field exists. Everything except the title and edit link need to be turned off in the options.
3 963 posted 16 years ago by kristarella
displayed filename and line number. //normal use d( $arg ); //some arguments d( $arg1 , $arg2 , ... );
0 737 posted 16 years ago by ikimozu
hope you enjoy - thanks to Tom Duff (for implementation in C), Dean Edwards, and Nicholas Zakas for the idea
0 698 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 1297 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 1139 posted 16 years ago by conspirator
2 930 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 1233 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 1039 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 1387 posted 16 years ago by justinseiter
2 783 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 1010 posted 16 years ago by justinseiter
2 1012 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 1122 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 820 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 1180 posted 16 years ago by shabith
Append html to a div tag (using System.Web.UI.HtmlControls)
1 1547 posted 16 years ago by hobeau
1 962 posted 16 years ago by cobra90nj
0 701 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 2276 posted 16 years ago by ericmorin21
1 ... 417 418 419 420 421 ... 554