Welcome To Snipplr
You searched for: http
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Add custom logo to the login and dashboard of wordpress.
More customization functions at:
http://sixrevisions.com/wordpress/how-to-customize-the-wordpress-admin-area/
1
834
posted 14 years ago by rliverman
Code for the wordpress functions file to add a custom post type.
Full doc at:
http://codex.wordpress.org/Function_Reference/register_post_type
http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpress
0
2868
posted 14 years ago by rliverman
Donwloads weren't working with https + ie6/ie7. This line solves the problem (order is important, **no-store** must be first).
0
882
posted 14 years ago by ashsa
Note that there is limited support for _CSS_ in Swing components which render HTML text. This example employs `padding`, `margin` and `font-size`.
The full list of supported properties (and their limitations) are in the [Javadoc][1]
[1] ht...
0
1129
posted 14 years ago by cruelfate
This example grab content from <a href="http://startupquote.com/">StartupQuote.com</a>. The ultra cool and super inspiring tumblr blog.
1
922
posted 14 years ago by ebiansyah1402
This script parses the entered text and it gets all URLs from the text. It will then shorten those URLs and replace the long URLs with shortened ones in the text.
If you need only the Shortener Services script, take a look at this snippet <a href="h...
1
1192
posted 14 years ago by stamba
Code to add Google-hosted jQuery UI library to site. See styles and documentation at http://jqueryui.com/
1
1028
posted 14 years ago by cviolette
CSS needed here:
` #largeImage
{
position: absolute;
left: 50%;
top: 50%;
visibility: visible;
} `
Dead Centre modified from: [Dead Centre a Div](http://snipplr.com/view/231/dea...
4
1011
posted 14 years ago by chendrix
**Important: this snipplet has moved to Github.**
- [Force the admin theme on additional non-admin paths in Drupal 6](https://gist.github.com/1973090)
3
1097
posted 14 years ago by wildpeaks
Code matches querysting data to form feilds on the page based on the feild name.
I've added the example querystring to the body of the page.
Found at: http://codingforums.com/showthread.php?t=198419
Code by: Old Pedant
0
910
posted 14 years ago by Carolyne
**Important: this snipplet has moved to Github.**
- [Programmatically log out the user in Drupal](https://gist.github.com/1973079)
0
895
posted 14 years ago by wildpeaks
<a href="http://nettuts.s3.amazonaws.com/837_shadow/shadow/index.html">View a demo</a>
17
6027
posted 14 years ago by Nettuts
This is a simple little content fader I created using jQuery. It is very simple and not browser intensive. It utilizes callback functions on the fadeOut to execute the fadeIn of the next content block. To reference the HTML src that goes a long with...
2
832
posted 14 years ago by chrislorenz
More info on SO: http://stackoverflow.com/questions/4061489/jquery-duplicate-field-input-text-in-real-time
1
1194
posted 14 years ago by logic-unit
This snippet is used for the blog post called Arithmetic Operators in Flash and ActionScript 3.0, which can be found at http://www.brettwidmann.com/2010/10/arithmetic-operators-in-flashactionscript-3-0 which is set to publish on November 1, 2010.
0
1016
posted 14 years ago by goatboy91587
A "quick and dirty" way to delete a directory. For more cleaner implementation, see http://www.google.com/codesearch/p?hl=en#SS2by_AKaLs/src/org/apache/commons/io/FileUtils.java&q=cleanDirectory&l=972
0
843
posted 14 years ago by studioevoque
General Notes:
Don't use "import" command
Steps for creating new svn project
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-import.html#tsvn-dug-import-in-place
1. Use the repository browser to create a new project folder d...
0
1011
posted 14 years ago by rumremix
Nicely group your CSS style blocks. CSSEdit (http://macrabbit.com/cssedit/) friendly.
0
691
posted 14 years ago by mecha
A default HTAccess file. Uncomment any lines that you want to use.
http://enarion.net/web/htaccess/trailing-slash/
1
822
posted 14 years ago by BFTrick
Hay dos maneras, la mejor es usar el script manager, tambien ver la diferencia entre
http://forums.asp.net/t/902895.aspx
0
2147
posted 14 years ago by ramirocalero
From:
http://stackoverflow.com/questions/1169927/using-sed-and-grep-to-search-and-replace
0
918
posted 14 years ago by edeustace
Demo, info & FLA download at http://adamcoulombe.info/lab/as3/card-flip.html
4
1404
posted 14 years ago by adamcoulombe
More information, Demo & FLA file download at http://www.adamcoulombe.info/lab/as3/spiral-gallery.html
1
1041
posted 14 years ago by adamcoulombe
On click event, display a div on mouse coords.
Tested on Firefox 3.6.11, chrome 6, internet explorer 6.
Based on this source code: http://www.webdeveloper.com/forum/showthread.php?t=92007
0
3415
posted 14 years ago by juanduke
An [example][id]. Then, **anywhere**
else in the doc, define the link:
[id]: http://example.com/ "Title"
1
1492
posted 14 years ago by dankauffman
Be sure to call the exact version desired or the script is only cached for one hour!
http://encosia.com/2009/10/11/do-you-know-about-this-undocumented-google-cdn-feature/
1
1080
posted 14 years ago by housecor
Desired effect is\\r\\n\\r\\nhttp://www.somedomain.com/blog/\\r\\nhttp://www.somedomain.com/blog/tag/\\r\\nhttp://www.somedomain.com/blog/page/2/
2
793
posted 14 years ago by lixonic
demo at http://adamcoulombe.info/lab/css/background-transparency.html ... Give an element a background color transparency without affecting the opacity of child or descendant elements. This is a no-PNG method!
0
1055
posted 14 years ago by adamcoulombe
To be placed in template.php preprocess_page function.\\r\\n\\r\\nBreaks stylesheets into 2 style tags with limit of 30 @imports each. IE has a limitation of 31 @imports or 31 style tags. (source: [http://john.albin.net/ie-css-limits/single-style-tes...
1
883
posted 14 years ago by resting