Welcome To Snipplr


Everyone's Recent Snippets



1 ... 176 177 178 179 180 ... 554
Will return the host name that the site is running on. Example: `http://mysite.com` or `http://myspecialsite.com:102`
0 1131 posted 13 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 518 posted 13 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 936 posted 13 years ago by coprolit
Force download function that worked well, Thanks.
5 918 posted 13 years ago by devilspride
0 855 posted 13 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 1141 posted 13 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 635 posted 13 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 616 posted 13 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 892 posted 13 years ago by cmndo
Automatically use jQuery to Open External Links in New Window (checking domain first).
3 1150 posted 13 years ago by mindshare
0 848 posted 13 years ago by mindshare
0 829 posted 13 years ago by EpiksolCreative
Hello, Here is snippet to show wordpress posted date using html5 time tag.
0 690 posted 13 years ago by idragons
Clean up the crap in wp_head(). Put it in yo functions file.
1 872 posted 13 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 754 posted 13 years ago by kodomonster
it ignores commas in a csv that are in string quotes
0 762 posted 13 years ago by Krummelz
1 ... 176 177 178 179 180 ... 554