Welcome To Snipplr


Everyone's Recent Snippets



1 ... 176 177 178 179 180 ... 554
1 1037 posted 14 years ago by samwa
Will return the host name that the site is running on. Example: `http://mysite.com` or `http://myspecialsite.com:102`
0 1388 posted 14 years ago by jasonseney
This is my own (compact) JS library which contains a variety of methods - cookies, (fast) sorting of tables,paragraphs, etc., highlighting rows, moving elements up or down, converting strings to dates, updating a clock etc.. Include the library and a...
0 725 posted 14 years ago by AndyG
"Javascript module pattern emulates the concept of classes in such a way that we're able to include both public/private methods and variables inside a single object, thus shielding/namespacing particular parts from the global scope." When inheritanc...
0 1206 posted 14 years ago by coprolit
Force download function that worked well, Thanks.
5 1163 posted 14 years ago by devilspride
0 1085 posted 14 years ago by stephcode
A code snippet for review by StackOverflow.com members. I would appreciate any help that'll aid me in fixing the bugs in the table (they are described in the StackOverflow question at http://stackoverflow.com/questions/5321646/buggy-css-for-an-html-...
0 1432 posted 14 years ago by sahwar
Encode a Tweet from a Twitter search query wrapping all hash tags, user names and urls with herf entities with one function call
0 862 posted 14 years ago by ninjaparade
You need to register this at the top of the page (see code below). Remember you can do this on a layout page as well, instead of the master page. Then place the PublishingWebControls:EditModePane tag inline (see below). The ID can be anything...
0 785 posted 14 years ago by rumremix
In a recent iphone webapp I developed, I needed to use safari's Local Database feature. The webapp needed to make a few SQL Queries while performing other actions. The local database data transaction process makes it difficult to make queries and...
0 1157 posted 14 years ago by cmndo
Automatically use jQuery to Open External Links in New Window (checking domain first).
3 1476 posted 14 years ago by mindshare
0 1095 posted 14 years ago by mindshare
0 1034 posted 14 years ago by EpiksolCreative
Hello, Here is snippet to show wordpress posted date using html5 time tag.
0 887 posted 14 years ago by idragons
Clean up the crap in wp_head(). Put it in yo functions file.
1 1087 posted 14 years ago by vagrantradio
Resize iframe height. This means if the content of your iframe is longer than the iframe height, and the iframe doesn't have a scrollbar, you can resize the height of the iframe so the content is viewed.
0 961 posted 14 years ago by kodomonster
it ignores commas in a csv that are in string quotes
0 970 posted 14 years ago by Krummelz
1 ... 176 177 178 179 180 ... 554