Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
wrote this snippet as a necessity to preload many images without writing same code all the time in JS...
0
924
posted 13 years ago by alik
I've previously posted this here: http://snipplr.com/view/59044/flexible-site-layout-with-resize-detection/
This new version is short and more efficient, plus it no longer shows 1 (harmless) error on launch. Works the same as last time, the sizabl...
2
1078
posted 13 years ago by FatFolderDesigner
Downloads contents as a byte array or string, depending on need.
0
983
posted 13 years ago by dkirkland
(I did not write this, but I forgot where I got it.)
This code will find all the variables passed though the URL and return the one you are looking for.
0
870
posted 13 years ago by sicbot
Via http://wordpressapi.com/2011/10/24/wordpress-theme-wysiwyg-editor-default-css/
1
798
posted 13 years ago by BorisDelormas
Returns Wordpress categories as a hierarchical object (i.e. categories with subcategories)
0
652
posted 13 years ago by adamturtle
Remove the info / address pop up on a google map embed code.
Until last month: the iwloc parameter was responsible to GET the
window opened or not the following way:
It the parameter was missing by deafult the infow window was NOT
opened.
And...
0
1761
posted 13 years ago by i-am-andy
This is a linked list that can be used like an array where instead of using [] after the reference you just used .get() (and some other methods) but now you don't have to worry about sizing.
For example, with an array you would do:
cout <<...
0
1060
posted 13 years ago by trusktr