Tag Archives: HTML5

A cool library to use SQL with HTML5

12 Feb

html5

html5sql is a light JavaScript module that makes working with the HTML5 Web Database a whole lot easier. Its primary function is to provides a structure for the SEQUENTIAL processing of SQL statements within a single transaction. This alone greatly simplifies the interaction with the database however it doesn’t stop there. Many other smaller features have been included to make things easier, more natural and more convenient for the programmer.

(Demo) http://html5sql.com/demo.html
(Documentation) http://html5sql.com/guide.html

Learn HTML and CSS. Well designed tutorial

30 Jan

Screen Shot 2012-01-30 at 5.43.48 PM

Really liked the way this HTML5/CSS3 tutorial is heading. Everything is super clear with corresponding examples.

Stitches An HTML5 sprite sheet generator

24 Jan

Stitches An HTML5 sprite sheet generator

Drag and drop image files into the space below and click “Generate” to create a sprite sheet and stylesheet. This demo uses a couple of HTML5 APIs, and it is only currently compatible with the latest versions of Chrome and Firefox.

Easy zoom in a picture with jQuery

15 May

tree

A simple jQuery script that zooms into an image after 1 second.
check out the demo here

THE CSS
We define a masked area of 200×200 and an absolute position of the main picture to create
a viewport

1
2
3
4
5
6
7
8
9
10
11
12
13
#window {
    width: 200px;
    height: 200px;
    overflow: hidden;
    position: relative;
}
 
#window img {
    width: 500px;
    position: absolute;
    top: -150px;
    left: -300px;
}

THE HTML

1
2
3
    <div id="window">
        <img src="http://ufomuffin.com/files/etc/tree.jpg">
    </div>

THE JQUERY
We wait a second using delay(1000) and then we use the animate function from jQuery to change the width of the image creating a zoom effect. Notice that at the same time we’re going to the positions top: -150 and , left: -300 to position the viewport in a specific region.

1
2
3
4
5
6
7
8
$(document).ready(function() {
        $('#window img').delay(1000).animate({width: 800}, 800, function() {
          $(this).css({
            top: '-150px',
            left: '-300px'
          })
        })
});

The Whole Thing

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Jquery Zoom / UFOMUFFIN.COM</title>
 
<style>
 
  #window {
    width: 200px;
    height: 200px;
    overflow: hidden;
    position: relative;
}
 
#window img {
    width: 500px;
    position: absolute;
    top: -150px;
    left: -300px;
}
 
</style>
 
 
 
</head>
<body>
 
    <div id="window">
        <img src="http://ufomuffin.com/files/etc/tree.jpg">
    </div>
 
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
	<script>
	$(document).ready(function() {
			$('#window img').delay(1000).animate({width: 800}, 800, function() {
			  $(this).css({
				top: '-150px',
				left: '-300px'
			  })
			})
	});
	</script>
</body>
</html>

Canvas HTML5 cheat sheet

15 May

canvas

Write cross-platform Mobile Applications in HTML5!

23 Feb

Screen shot 2011-02-23 at 10.45.57 AM
  • MVC
  • HTML5
  • JavaScript-all development cycle
  • Offline support (automatic cache manifest generation)
  • Rich User Interfaces
  • DataProvider for local and remote storage persistence
  • Internationalization (i18n)
  • Open Source (MIT License)
  • NodeJS based build tools (called Espresso)

Start your HTML5 project in 15 seconds

12 Feb

Screen shot 2011-02-11 at 10.16.46 PM

HTML5: Right Here, Right Now

6 Dec

Corkboard

3 Dec

notes

html5 + javascript + CSS3

finally a sleek HTML5 player solution

18 Nov

html5

SublimeVideo.net lets you embed and customize HTML5 video players for your website that will work in every major browser

Crush any website with browser asteroids

28 Sep

Screen shot 2010-09-28 at 6.21.17 PM

Drag the bookmarklet to your bookmarks bar or a tab and start having some fun on other pages too! (via erkie.github)

How ready is HTML5 right now?

17 Apr

html5

Want to know if your browser supports all the features from HTML5 and CSS3 ? (more…)