html5

How to parse onclick javascript event parameter using MSHTML?

I need to extract the javascript call in the onlick event defined in the following markup: <div style="cursor: pointer;" onclick='javascript:start("a", "b", "code");'>Click Here</div></div> This is what I want to extract from onclick as a text string: 'javascript:start("a", "b", "code");' I am a novice at using MSHTML and this is wha...

HTML 5 filter language or some analog of filter language?

Is there in HTML 5 filtering language or some analog of filter language? Something like GLSL / HYDRA / HLSL or just JS pixel filter/shader lib? ...

Which would you prefer? SVG, HTML5 or regen'd-PNG for graphs & charts?

I'm developing a new site that graphs some operational metrics. As such about a dozen charts/graphs will be displayed on the site. I want to be able to have them dynamically scale down (within reason) based upon the size of the browser. I'm debating the pros/cons of generating these as one of these options: SVG. Great for scaling b...

iPhone - HTML5's "cache manifest" Common to many webapps??

Sorry for the cryptic title. I would like to know if the cached files from one iPhone webapp using HTML5's manifest capability, can be made available to another webapp from same domain; as in shared libs of javascript code or common image logos. Anyone? Thanks, Greg ...

HTML5 <video> element on Android

Hi, According to: http://developer.android.com/sdk/android-2.0-highlights.html Android 2.0 should support the HTML5 video element. I haven't been able to get this to work using a Motorola Droid, and haven't been able to successfully view a video on any of the HTML5 video example pages out there. Since there currently isn't support for...

Javascript audio/video element control volume programmatically?

Flash has an API to control the volume for a Sound object. Can volume be controlled like this currently or is there support planned for <audio> or <video> html5 elements? ...

HTML element with double attribute

(The question below is hypothetical, but for reading convenience I'll ask as if I'm actually doing it) I'm building a site in HTML 5. Unfortunately, IE doesn't support HTML5 elements like "header" and "nav". I was hoping it would treat them like generic "div"'s, but it doesn't. It simply acts as if they aren't there (meaning no CSS is a...

Flash implementation of `<audio>` and `<video>` tags for HTML 5?

Hey, I am trying to convert our all-flash website to HTML 5. But since so many users still use IE and other browsers that do not support HTML 5 yet, I am looking for some flash media players that can replace <audio> and <video>. My google skill does not yield good results. The flash media player should dispatch events specified at htt...

How to properly invalidate an HTML5 Cache Manifest for online/offline web apps?

I'm currently using a Cache Manifest (as described here). This effectively makes the necessary resources to run the application available when the user is offline. Unfortunately, it works a little too well. After the cache manifest is loaded, Firefox 3.5+ caches all of the resources explicitly referenced in the cache manifest. Howeve...

HTML5 DB error callback, how to know the sql request throwing error ?

I use the html5 database in safari like that (simplified code) : createContent : function() { this.database.transaction(function(transaction){ for (var elm in lotOfElm) { transaction.executeSql('INSERT....VALUES (?, ...?)', [elm.att1, elm.att2...], nullDataHandler, errorHandler); } }); }, errorHandler: fun...

Can the behaviour of new HTML5 form types be overridden?

I was wondering if anyone knew if it were possible to override the default behaviour of browsers that support the new HTML input types such as type="email" and type="date"? I appreciate that I could test if a browser supports an input type and provide a fallback for those browsers that don't, but what I want to know is is there any way ...

Streaming via RTSP or RTP in HTML5

I'm building a web app that should play back an RTSP/RTP stream from a server (http://lscube.org/projects/feng). Does the HTML5 video/audio tag support the rtsp or rtp? If not, what would the easiest solution be? Perhaps drop down to a VLC plugin or something like that. ...

How to Use Sockets in JavaScript\HTML?

How to Use Sockets in JavaScript\HTML? May be using some cool HTML5 technics? Libs? Tutorials? Blog Articles? ...

Passing mouse clicks through an overlaying element <div>

Is it possible to pass mouse clicks through an overlaying element: - <div style="z-index: 100; background: url('../images/rain.24.png'); width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0;">&nbsp;</div> ...pass mouse clicks beneath it to underlaying elements (e.g. a web page with images, links, etc)? Thinking of another ...

Are there compelling reasons to adopt HTML5?

The main website for my company is due to be completely overhauled next year as part of a major rebranding exercise. While it is expected to only require a "new lick of paint" (i.e. update CSS and imagery), it may also be the best time to look at moves towards a shift to HTML5. There are plenty of reasons why I would not want to do thi...

Best way to synchronize local HTML5 DB (Storage) with a server

I am developping a mobile web application (for iPhone) with a local database (using html5 webstorage) so my app is still usable when the user is offline. This is working perfectly, but I want to save the local data on a server. So I need to synchronize the local DB with a DB on a server. The synchronisation can only be one way, but in t...

Which browser fully supports HTML 5 ?

Hi, I am learning HTML 5. I want to know the browser (firefox ? safari ? opera ?) which fully supports HTML 5 APIs. If no browser support HTML5 API, which one does support most/maximum number of HTML5 APIs ? thanks ...

I'm overhauling my blog and … is HTML5 OK?

I'm overhauling my blog (http://gilesvangruisen.com/) and I'm going to be pushing new technologies as much as possible. I'm a web designer/developer and the browser percentage is as follows: 42% Firefox 39% Safari 7% Chrome 7% IE Is it OK to use the HTML5 doctype for my "rethunk" site? I thank you. -Giles :) ...

Google Semantic results question

http://www.google.co.uk/search?q=mark+zuckerberg+crunchbase Guys, check out that search, in particular the first result's url. Crunchbase.com > People, and thus the people links to the /people section of the site. How are they achieving it? I know Google algorithm is intelligent and looks for links and then makes the assumptions itself...

<section> or <article>, which is contained in which

Trying to get my head around the new semantic elements in HTML5. Does a <section> belong inside an <article> or is it the other way around? Does it even matter? I'm looking at structuring a wordpress blog something like this: Is this reasonable, or am I missing something? ...