Welcome To Snipplr
Everyone's Recent HTML Snippets Tagged javascript
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Extremely helpful to anyone who is looking to improve performance and follow best practices in HTML/CSS
2
886
posted 9 years ago by Rar
Add the "no-js" class to your topmost html element, so you can use CSS to style JavaScript-free pages. This snippet will then replace that tag with "js", allowing you to style pages with JavaScript.
The excellent [HTML5 Boilerplate](http://html5bo...
0
1556
posted 11 years ago by EvanHahn
Highly customizable search widget for Google+ that is inspired by Twitter widgets. This widget searches across the body and comments of public posts and displays a summarized version of matching posts with any attached images.
0
411
posted 11 years ago by mikemore
This is just a quick sample that shows how to have a button visible on a page only if the person has JavaScript enabled.
0
425
posted 11 years ago by EgoAnt
I took this out of an example in tutsplus, and I added a fadeIn action for aesthetic reasons.
0
677
posted 11 years ago by luizlopes
This is just a simple page full of XHTML to follow along with my JS book. A template.
0
531
posted 11 years ago by inreflection7
This is mostly taken from the HTML5 Boilerplate project so kudos go there.
Dont forget to update the local URL paths.
0
616
posted 12 years ago by lawlesscreation
Proper way of loading libs such as jQuery from Google's CDN. Place these JavaScripts at the bottom for fast page loading. To target different versions, you can be more specific if you want; eg. /1.4/ or even /1.4.4/.
(NOTE: you may either use http...
0
710
posted 12 years ago by hced
Grab Google CDN's jQuery. Fall back to local if necessary, Taken from the HTML5 Boilerplate.
1
684
posted 12 years ago by f6design
Testing, if Browser supports HTML5 "date" Value for type in input-fields
0
427
posted 12 years ago by ichnoweb
The bare minimum required tags in the head tag of any HTML doc...
1
648
posted 12 years ago by jaymanpandya
Para hacer un solo desplegable, dejar solo una lÃnea de <div></div>
0
466
posted 12 years ago by chiesalo
[ИÑточник](http://sreznikov.blogspot.com/2010/01/supplant.html)
0
451
posted 13 years ago by vissper