Welcome To Snipplr
Everyone's Recent Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Just a bit of essential code lines to start everytime from. // I don't use it :P
5
2359
posted 14 years ago by claudiowebdesign
This strips out any html tags (like paragraph tags) from the excerpt in WordPress.
0
1026
posted 14 years ago by nonsalant
More info on SO: http://stackoverflow.com/questions/4061489/jquery-duplicate-field-input-text-in-real-time
1
1533
posted 14 years ago by logic-unit
if window.jQuery is undefined, there must have been a problem downloading the script from the CDN. In that case, proceed to the right side of the && operator, and insert a script linking to a local version of jQuery.
1
1020
posted 14 years ago by touffies
if window.jQuery is undefined, there must have been a problem downloading the script from the CDN. In that case, proceed to the right side of the && operator, and insert a script linking to a local version of jQuery.
1
975
posted 14 years ago by Deej
I wrote this little bit of code myself so if you see where you can improve on it, let me know. This is great for making complex menu's and also for making sure your POST data gets saved and reselected when the screen refreshes. I use it in all my pro...
0
1725
posted 14 years ago by geilt
This is source I created from a project currently in development.
0
1456
posted 14 years ago by chrislorenz
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
3820
posted 15 years ago by juanduke
This is a very useful piece of code (html, css, jquery) to have a nice animated floating menu on your page. I totally love it.
I used it with jquery 1.3.2 and up
3
1448
posted 15 years ago by e11world
This is an example of what a typical description meta tag looks like.
0
1042
posted 15 years ago by goatboy91587
In regards to progressive enhancement, see also the [jQuery version](http://snipplr.com/view/48275/default-value-for-input-fields-jquery-version/).
6
1678
posted 15 years ago by riddla
Grab Google CDN's jQuery. Fall back to local if necessary, Taken from the HTML5 Boilerplate.
1
1487
posted 15 years ago by f6design
Always force latest IE rendering engine (even in intranet) & Chrome Frame. Taken from the HTML5 Boilerplate.
0
1434
posted 15 years ago by f6design
If you're ever bothered by CakePHP's limited breadcrumbs support for displaying them use this to build your own!
2
1335
posted 15 years ago by stolkchris