html5

Why does this HTML5 Video Tag not work in Firefox 3.6 and why does it not autoplay in Safari?

<video controls="" autoplay="" tabindex="0"><source type="video/mp4" src="pird2.mp4"></source></video> ...

How can I suppress keyboard popup on an iPad HTML5 app?

I’ve written an HTML5 application for iPad. It has one input field. Every time a user comes to this page, the popup keyboard appears. How can I suppress this default behavior within HTML5/JS context? In my app, if you type in a login & password, it shows another screen (without page reload). But the keyboard still exists, and you have ...

Is it possible to make a gradient-transparent/layer masking image using canvas?

I've been following the lessons about transparency and gradients on mozillas site https://developer.mozilla.org/en/Canvas_tutorial/Applying_styles_and_colors but I have not been able to figure this one out. I know I can achieve these effects with a png image; however, in the program I am working on the gradient will chance constantly ac...

Html5 Video on Android 2.1 with multiple source files

Hey all, I have done a ton of searching and am hitting a brick wall. I am able to use HTML5 on a Motorola Droid with Android 2.1. The problem is when I add fallback options for firefox, and flash that add multiple source files. If I use src within the video tag, and add the onclick="this.play();" code within the video tag, I can watch ...

HTML5 cache manifest: what exactly does it do? the documentation is unclear

It's not clear to me from the descriptions of the cache manifest that I've read (e.g. http://www.w3.org/TR/offline-webapps/#offline and elsewhere) what this file does. I'll explain what I find to be unclear. The heading name ("Offline Web Applications") suggests that the cache manifest is relevant only for offline scenarios; the cache ...

How can i use HTML5 local storage along side PHP, use that for php sessions, and store other information that php uses.

I have been looking on the web for some time now and HTML5 local storage seems to look like something useful to me and a solution to my problem that I am having with PHP sessions, the problem is that they are not consistent even if I set them to remember me the next time I come to my home page I am taken to the login page, this is not al...

Geolocation times out after the first couple successful times.

I'm using geo.js and Gears (tutorial here) to get a users location. The way my script works is that it checks to see if two cookies, latitude and longitude, exist. If they do, it allows the users to search for restaurants in their area. If they don't, it prompts for the user to share their location. I also added in two controls, upda...

What support does HTML5 provide for semantic markup and Semantic Web technologies?

It seems that, as of right now, there is little to no support in HTML5 for semantic markup using RDFa or Microformats. I've done a little bit of reading, but if I were to start using HTML5 right now, what could I do to support semantic markup (such as microformats) and Semantic Web technologies (such as RDFa)? If I want to utilize these ...

html 5 requirements

hi does html 5 need javascript? or it is an option and i can use html5, css3 and gwt instead on javascript? thanks ...

javascript webapp development

I am really confused about web application development. I read w3 and apple choose and recommend javascript for developing web apps but i heard that for developing web apps i need to create back-ends with Java. Can I learn html5/css3/javascript and develop a complete webapps by only using those technologies? Thanks ...

Open/Save file in javascript

I'll write an app that'd need to let user load PNG&JSON files and then save them. How could I let user open and save such files? I wouldn't like to write up an echo server for those images. ...

"Erasing" in html5 canvas

I have a doodling application in html5 canvas, and I'm trying to figure out the best way to implement an eraser control. First impulse was just to have the eraser draw the background color [white], but this is problematic because if the user moves an image or another layer to where they've previously erased, they see the white drawing w...

Offline web application + ipad bug

I am trying to get a simple (all front-end) application working offline on ipad, but safari keep telling my that I am not connected to the internet. I uploaded my cache manifest, added AddType text/cache-manifest .manifest in my .htaccess I use 1 ajax request, BUT, I store it in localstorage and I check navigator.onLine, should it be ...

Why does this WebGL framebuffer usage throw FRAMEBUFFER_UNSUPPORTED?

I'm trying to create a WebGL pick buffer; Can anyone see what I'm doing wrong here? I'm getting "Incomplete framebuffer: FRAMEBUFFER_UNSUPPORTED" on Mozilla/5.0 (X11; Linux x86_64; rv:2.0b3pre) Gecko/20100724 Minefield/4.0b3pre and Chrome 5.0.375.99. Must be obvious and staring right at me but I cant see it. It's apparently valid, has...

How can I do cross-domain postMessage?

The documentation for postMessage implies that cross-domain messaging is possible. However: // When the popup has fully loaded, if not blocked by a popup blocker That isn't a very clear note of how to actually do it. In the meantime, I have created two websites: Parent hosted on qc-a.nfshost.com Child hosted on qc-b.quadhome.com ...

globalCompositeOperation

I have tried to use globalCompositeOperation in a loop passing it different string (source-atop, source-over etc.) in the same 2D context but I noticed that Firefox let draw me only few shapes while Opera only the last. Now, my question is can I use only ONE globalCompositeOperation at time into the current context? ...

CSS3 animation on transform: rotate. Way to fetch current deg of the rotating element?

Hi everybody, i am working on a html5 interface wich uses drag and drop. While i am dragging an element, the target gets a css-class, which makes it bidirectionally rotate due to a -webkit-animation. @-webkit-keyframes pulse { 0% { -webkit-transform: rotate(0deg); } 25% { -webkit-transform:rotate(-10deg); } 75% { -webkit-...

Can HTML 5 drag-and-drop handle folders?

I'm impressed by Gmail's ability to let you drag files into emails for attachments, but when I try to drag a folder onto it, it says the file has 0 bytes. Is this a Gmail limitation, or is this something that's fundamentally not doable with the current HTML 5 spec? ...

Fading out and in with $(this).parent().find() repeating.

Hi there, I've been creating a checklist webapp using JQuery, and so far it has been going pretty smooth, but now I'm trying to make editable content. I want to do this by fading out the text in the list, and fading in the textbox, and then reverse when complete. The checklist can be found here: The Checklist. As you can see it is fairly...

HTML5 input type="search" issue

I'm working on a Google Chrome extension, and using for a search box, the search displays results in an inline div rather than having a submit button and going off to a different page when it is clicked. Is there any way to detect when the "X" button is pressed at the end of the search field, i need to close the inline div when it is b...