html5

HTML 4 vs HTML 5

I have been reading a lot about HTML 5 and some of the changes that it offers. It seems though that for most of my needs (LOB apps) it really wouldn't have that big of impact. But recently I had a designer friend of mine tell me that I need to start building everything in HTML 5 because that is what everyone is wanting now. Can someone ...

Using HTML5 canvas with the z axis? And how to move the canvas eye view? {Please Help me I have a deadline that ends very soon}

Hey all how do you use the z axis when drawing and moving a model? I have the following: canvas = (function () { canvas = { canvas: $("canvas"), models: [{ start: [10, 10, 10], end: [1, 10, 10], color: "silver", }, { start: [30, 30, 30], end...

Setting sound volume in HTML5 Video

Hi, I'm wondering if it's possible somehow to play a video that has sound (in HTML5 + Video-Tag) without sound so that the video starts to play automatically without sound - and switches on the sound on mouseover for example. ...

Using jqGrid with HTML5 local database

I would like to use jqGrid for a pretty large HTML5/SQLite application. All of the data will be local and I'll never be calling a server. I've build a pretty simple bridge class that sort of hijacks the normal server-client communication by setting the url to '#' capturing the changed data with afterSubmit but it is very, very hacky. Is ...

Are HTML5 tags are not block level elements?

If I have a HTML element <header> and apply some margins to this HTML5 element through CSS as: header{ margin:10px 0; } The <header> element is not spaced 10 px from rest of the elements. But if I modify my CSS rule like below: header{ margin:10px 0; display:block; } then the <header> element is spaced accordingly. So, my q...

Possible draw on the iPhone/iPad web page using HTML5?

Is it possible to draw with your finger using the iPhone or iPad in HTML5? If the user were on a PC then the user would need to be using a mouse for the same effect. ...

What Flash can do that HTML5 not?

What things Flash can do that aren't possible with HTML5 currently? For example, Flash supports raw access to the underlying network, while WebSocket needs some proxy server. This one is really annoying. ...

Read EXIF online without need to upload photos

Hi, I have an HTML5 site. I want to do following thing: Walk through files in a folder Find all images Get exif file from images Analyze an exifs (on server) Correct bad exifs This is a best scenario, that it can be. I am conscious that 1st and 2second step is possibly done only by selecting this files by user. And 5th step is po...

HTML5 PUT/DELETE methods not working in Chrome?

I am trying to figure out why the put/delete methods, in an HTML5 enabled site, is not working with Chrome. From what i've searched for, it sounds like it has been working for some time with Chrome, so with that said i am just looking for a few pointers to narrow down my problem. Perhaps i am implementing the form wrong, perhaps my docty...

Canvas drawImage using data URL

I'll start with the script: function saveInstance() { _savedInstance = document.getElementById('canvasID').toDataURL(); } function restoreInstance() { ctx.drawImage(_savedInstance,0,0); } The purpose is to save an instance of the canvas and re-apply it later [Similar to how ctx.save() saves the style and transformations...

HTML5 Web SQL Database for non compatible browser?

I really like sql-database in HTML5, but so far only Opera and Webkit browsers support this feature. Are there any javascript libraries out there that replicate this feature or provide something close to this? Thanks! ...

HTML5 Drag and Drop API on Touch Screen Devices

I was just wondering if the HTML5 API for Drag and Drop included support for touch screen displays. I was thinking of iPhone, but I know this isn't supported yet. I was wondering if that is just catching up on the part of Apple, to support HTML5 drag and drop on Safari mobile, but I also was thinking maybe the HTML5 API wasn't powerful...

Phonegap JQTouch Multiple Page Form - stored info till final POST

What's the easiest way to implement a multi-page form and save the information until the final POST using JQTouch for the Phonegap framework? Basically, I want to create a multiple page form with JQTouch and at the end POST/send all information entered to a PHP page on my server, but am having trouble figuring out the best way to save t...

Are there any HTML5/Canvas windowing system libraries (ala Qt, WxWidgets, etc)?

With the beginning of widespread HTML5 support and Canvas support, it seems that someone could create a desktop-esque windowing system library for RIAs. Something similar to Qt or WxWidgets. All the required parts seem to be there (runtime language: javascript, pixel drawing: canvas, even vector drawing with SVGs). This seems to me an...

html 5 games: can i secure the code somehow so the game itself won't be changed while playing?

Hiya. As far as I know, it's really not possible, but I just want to be sure before I'm moving to flash. can I make an html5 game secure enough so people won't be able to change their score and other variables while playing? thanks! ...

desktop app with HTML5 interface

Hi, I want to create quite robust desktop app, which will do some basic file analysis (e.g. I need to list all files in directory) and will do some basic visualization of data. I want to use also part of the visualization online (same component). It would be the best to make a HTML5 interface and use it for both. What is the best way how...

Set HTML5 doctype with XSLT

How would I cleanly set the doctype of a file to HTML5 <!DOCTYPE html> via XSLT (in this case with collective.xdv) The following, which is the best my Google foo has been able to find: <xsl:output method="html" doctype-public="XSLT-compat" omit-xml-declaration="yes" encoding="UTF-8" indent="yes" /> produces: <!DO...

How can I stop the preload of a video (HTML5 - Javascript)

I have a web page with a video player preloading 3 videos (low, med, and high quality of the same video). Then, when the user clicks on one the button corresponding to the desired version, the video opens. What I would like to do is to then stop the preloading of the two other videos. Is that possible? In other words, can the "preload...

html5 geolocation accuracy

Hi, Just a quick question I have built the following code: http://letterpool.testmode.co.uk/map.html However with some users I am getting reports that people are getting around a 200-300 meter of their actual location. Does any one know why ? ...

iPad - Test an HTML5 site on a Win7 PC

I'm looking to target a website specifically for an iPad but we don't have any Macs in house for testing. What's the most accurate way to test the site on a PC? I image I could use the Safari browser and shrink the window down to approximate the iPad screen size but I wonder if there's a better method out there. ...