Welcome To Snipplr
Everyone's Recent Snippets Tagged html5
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Uploading multiple files at once used to be strictly in the realm of flash or required javascript to crate multiple upload forms as needed. The first method has the problems with the general incompatibility of flash. The second, well, it's a very low...
0
1252
posted 14 years ago by FatFolderDesigner
JavaScript file that creates the HTML5 elements for IE8 and below (by Remy Sharp). Just call the file from the head of the html in a conditional comment [if lte IE 8].
0
724
posted 14 years ago by polly42
Just a bit of essential code lines to start everytime from. // I don't use it :P
5
1080
posted 14 years ago by claudiowebdesign
based upon http://www.snipplr.com/view/41900/base-html5-template/
2
706
posted 14 years ago by withinmedianl
Well almost ;) This should really cover most any browser out there. If no HTML5 support will fall back to flash, so for this example Flowplayer is required, but any flash video would work.
also FP will play many different formats not just flv.
5
1155
posted 14 years ago by myke
HTML5 starting point template. Used in conjunction with HTML5 CSS reset at the above link.
12
1409
posted 14 years ago by vagrantradio
Uses html5 geolocation to determine device position and sets this as the starting point for directions on a Google Map. Use modernizer to detect support.\r\n\r\nhttp://diveintohtml5.org/geolocation.html\r\n\r\nhttp://code.google.com/apis/maps/docume...
1
1291
posted 14 years ago by Meander365
Reworked CSS reset I use in projects. *Updated, added input type font inheritance and removal of firefox button outline, removed depreciated items; center, font, applet, big, s, u, tt, strike, menu & acronym. Uncompressed version in the link above.
3
1559
posted 14 years ago by vagrantradio
Generic function to test whether and element supports a particular element in HTML5.
0
848
posted 14 years ago by vagrantradio
I tried a menu bar with html5 and css3. Please give me some advice for more advance.
1
1058
posted 14 years ago by jamepaul
The `localStorage.key` method is a great way to loop over localStorage items.
0
754
posted 14 years ago by andrew8088
this shows you how to use localStorage to have a page remember content that has been edited with the html5 attribute, contenteditble
0
939
posted 14 years ago by adriamooney
HTML5 geolocation using the new HTML5 geolocation API, JavaScript and Google Maps. HTML5 geolocation detection is included. This will work in almost every modern browser except IE, but if your browser does not support it, it will tell you so. It will...
3
1182
posted 14 years ago by jonkemp
Just a quick script to enable default text within a form element to be cleared or restored upon focus/blur of a particular element.
Should give you roughly the same functionality as the new HTML5 webforms "placeholder" attribute.
0
847
posted 14 years ago by scheurbert