html5

Why WHATWG disallows nested forms in HTML 4 and HTML5 ?

Why WHATWG disallows nested forms in HTML 4 and HTML5? EDIT: Problem is originally described at http://stackoverflow.com/questions/597596/how-do-you-overcome-the-html-form-nesting-limitation In short author says: You are making a blog app and you have a form with some fields for creating a new post and a toolbar with "actions" like "Sa...

starting a service based on someone's GPL/MIT licensed code

someone wrote a nice framework for developing html5 3d engine. It's GPL/MIT licensed. Do you think it's a good idea to build upon it, and then repackage it and sell it as a service? For eg> the framework lets you build 3d environments. so I build on it, maybe add a few features like characters and music in the environment, and turn it i...

How will the ratification of HTML5 affect JSF, Struts, ASP.NET etc?

There is a lot of chatter about the improvements HTML5 is about to unleash on the web development world. How will this new standard affect web dev frameworks like Faces, Struts, or even ASP.NET? How long will it take them to 'catch up' in order to emit such code? Will controls get deprecated? ...

What are the best guides to HTML5 & CSS3 support in web browsers?

Do you know about useful resources about HTML5 & CSS3? UPDATE: I'm (and i think a lot of people) looking for pracitcal information how and to what extent is it possible to use these unfinished technologies. I found one very useful resource: http://caniuse.com/ ...

What's the name of the technique where the images on a web page fade in as they scroll into view?

Here's a webpage that does what I'm describing: http://mashable.com/2010/05/13/mobile-tech-journalists/ What's going on with the images? It seems that they get loaded and fade in as you scroll them into view. Is there a name for this technique? Is it a new optimization technique? Where can I read more about it? ...

How to animate characters text with html5

How would I animate individual characters of text on a page in HTML5. Like this example in flash. http://www.greensock.com/splittextfield/ ...

Multiple storages using localStorage

Is it possible that the same name used can have many different values stored separately and to be shown in a list? E.g.: function save() { var inputfield = document.getElementById('field').innerHTML; localStorage['justified'] = inputfield; } <input type="text" id="field" onclick="save();" /> Every time someone enters somethi...

Chrome not displaying Class set by jQuery or a Direct CSS property

This might seem like a bit of a design/css question but i really need some help. This is the page http://library.permilia.com/Gavin/version2.0_beta/lead.html It works on every browsers imaginable except chrome. By it works i mean it applies a class .error that sets the borders to 1px solid #f00 which is a red border. In chrome for so...

HTML Slider element?

I'm coding an app (temporarily up here), and I want to make its parameters modifiable. I feel the best way to do this would be with your standard GUI slider elements (a la this, but not so ugly). I just noticed that the DOM doesn't provide these, however... What's the best way to introduce sliders to a webpage? Is there a standard libr...

How to popup a jquery window to play youtube video?

I need this video to play automatically. It would be nice, this code can play videos from other sources like yahoo etc.. Is it also possible to use HTML5, instead of jquery? ...

HTML 5 test for new elements

How can I test if my browser supports the new semantic HTML 5 elements like: <nav> <footer> and so on? ...

HTML 5 performance on Firefox ?

I tried this sample here: http://9elements.com/io/projects/html5/canvas/ After a few minutes, Firefox slows down so much I can't even popup any menu. When I closed the tab, Firefox comes back to normal again. So is HTML 5 really a good choice now ? ...

How do I make a div with contentEditable set show a blinking cursor on page load?

I would just like to have an editable div that acts like a textarea that is given focus on page load (i.e. the blinking cursor is visible and typing shows up in the div without having to select the div with the mouse). I've tried calling focus() on the editable div, but that doesn't work. ...

HTML 5 Peer to Peer Video Possibilities?

Is there anything in HTML 5 that might allow peer to peer video ala Adobe Stratus and Flash 10? There's lots of cool possibilities with P2P video and it'd be nice to build such applications without having to rely on Flash. ...

HTML5 Canvas: How to fake globalCompositeOperation="darker"

I've googled and googled about this, and all I can find, including on StackOverflow, is "support was and is broken in most major browsers." Not an actual solution to my problem. This month's Playboy came with a pair of 3D glasses (red/cyan) to view the eye-popping centerfold. Naturally, I hit the Internets to find every single red/cya...

Import/Export HTML5 localStorage data

Hi all, I'm working on a simple TODO list app based on localStorage HTML5 feature: http://hamen.github.com/webnotes/ I'm wondering if it's possible to import/export data in some way. How could I provide an "Export note/Import note" feature to make users being able to save their note on their HD and import them in another browser profil...

Retain Site Background and Switch Pages?

I was about to redo a Rails site today using AJAX so that the background could remain in place. Then I thought, "that would be exactly like using frames," and then I thought about SEO consequences and I dropped the idea entirely and took a look around the Web. It turns out that few sites -- except for Google itself, which has the link ba...

Eror while showing returned value on parent window from chield (Dialog box) window using JSF Trinidad

Hi There, I am using Myfaces and Trinidad tld's for page design. In that, I am trying to implement Dialog box which will going to open on button click with tacking some value from parent window and return result to Parent window. Now the problem is I can send value to Dialog box and also get return from dialog box successfully, but ther...

Offline websites using Google Gears or HTML5

I have been reading about creating offline websites using Gears and using HTML 5. Im curious as to advantages and disadvantages of the two in regards to an ASP.Net MVC2 applcation with a SQL Database Backend. It seems to me that since Gears supports offline Database functionality. It would be the only way to go. But with some creativ...

How can I get Hpricot to play nice with HTML5?

I am using Hpricot to parse a theme file. I have noticed, however, that if I feed a valid HTML5 document into Hpricot(), it auto-closes HTML5 tags (like <section>), and messes with the DOCTYPE. Are there any extensions to Hpricot, or perhaps a flag I need to set, that will allow HTML5 documents to be parsed correctly? ...