Welcome To Snipplr


Everyone's Recent HTML Snippets Tagged javascript



« Prev 1 2
Extremely helpful to anyone who is looking to improve performance and follow best practices in HTML/CSS
2 819 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 1360 posted 10 years ago by EvanHahn
i don't know if this is amazing or scary
0 386 posted 10 years ago by ederfortunatO
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 375 posted 11 years ago by mikemore
0 404 posted 11 years ago by BebenKoben
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 395 posted 11 years ago by EgoAnt
Creates a link to reload the current page.
0 391 posted 11 years ago by blantonious
I took this out of an example in tutsplus, and I added a fadeIn action for aesthetic reasons.
0 622 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 495 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 564 posted 11 years ago by lawlesscreation
0 399 posted 11 years ago by gdesjardins
0 426 posted 11 years ago by paul66
0 388 posted 11 years ago by danhanly
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 663 posted 11 years ago by hced
0 298 posted 12 years ago by dharmamike
Grab Google CDN's jQuery. Fall back to local if necessary, Taken from the HTML5 Boilerplate.
1 618 posted 12 years ago by f6design
Testing, if Browser supports HTML5 "date" Value for type in input-fields
0 392 posted 12 years ago by ichnoweb
0 403 posted 12 years ago by terrencewood
The bare minimum required tags in the head tag of any HTML doc...
1 588 posted 12 years ago by jaymanpandya
Para hacer un solo desplegable, dejar solo una línea de <div></div>
0 415 posted 12 years ago by chiesalo
[Источник](http://sreznikov.blogspot.com/2010/01/supplant.html)
0 418 posted 12 years ago by vissper
1 399 posted 13 years ago by manatlan
« Prev 1 2