html5

Which mobile browsers versions/devices versions/OS versions currently capable for HTML 5, CSS3 and jquery?

Which mobile browsers versions/devices versions/OS versions currently capable for HTML 5, CSS3 and jquery? ...

Using a custom font with CSS3/HTML5?

I have this code in the beginning of my CSS stylesheet (linked to my index.html, of course): @font-face { font-family: "Calibri"; src: local("Calibri"), local("Calibri"), url("fonts/Calibri-Bold.otf") format("truetype"); } And i'm using: #id { font-family: Calibri, Verdana, Arial, sans-serif; } But it still doesn't work. Wh...

Does Internet Explorer support pushState and replaceState?

Does anybody know if Internet Explorer supports the history.pushState() and history.replaceState() methods for manipulating browser history? Considering these are just being implemented in Firefox 4, I'm not holding my breath, but does anybody know if they're coming in IE9? ...

Is there a good HTML5 and JavaScript beginners tutorial for making iPad web apps?

i am planning to develop a web app for iPad. Basically its e- catalog app. so my requirement is Intuitive UI (animation etc..) Support all touch gestures So my question is is there any good source of examples or tutorials for getting started with HTML5 and JavaScript? Thank you so much. UPDATE i just found about "Sencha Touch" any...

HTML5 + Jscript with JQuery, setInterval problem

Please can someone tell me why this isn't working before I defenestrate everything on my desk. I have the following html document: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html";...

Password Protect HTML5 Offline Application Directory

I have an HTML5 app which is capable of running offline. However, I need to password protect the directory this app resides in to only allow access to authorized users. Initially I was using a PHP login page which set a cookie (outside of the app directory) then redirected to the app directory. The app (JavaScript) checks for the cook...

html5 tricks with the new Bing in IE9

Microsoft showed off some enhancements to Bing.com in IE9. One is a html5/css3 trick that is referred to as an accordion. As the user scrolls down, links are first displayed as a stacked accordion and with more scrolling the summary text is displayed. you can see it midway through the video here: http://www.bing.com/community/blogs/searc...

Why does IE9 switch to compatibility mode on my website?

Hi, I have just installed IE9 beta and on a specific site I created (HTML5) IE9 jumps to compatibility mode unless I manually tell it not to. I have tried removing several parts of the website but no change. Including removing all CSS includes. On some other website of me it goes just fine. Also, don't set it manually because then IE9 ...

HTML5/Flash component to play Apple's segmented video streams?

What you can recommend out of HTML5 (JS) and Flash components/libraries to play iPhone/iPad-compatible video stream inside web page on conventional browsers? I've checked for FlowPlayer, unfortunatelly it seems not able to work with Apple's segmenter (the one, that cuts video in 10 second .ts fragments, and gives out a playlist). ...

HTML5 Local Storage - Creating and writing to a json file?

Hi all, We are building a web application using SVG & JS. The log file for this application needs to be created on the client side and then finally uploaded to the server once the project is ended. As we donot wish to go near ActiveX controls, is it possible to achieve this with the new HTML5 'Local Storage'? Isnt that what 'Local Stor...

Using Wildcard in FALLBACK section of Cache manifest file HTML5

How to create an offline enabled web-application such that when user visits hxxp://mywebsite/ and is offline than hxxp://mywebsite/offline/ is displayed. [There are about 100 different dynamic pages in my website, so I cannot afford to hardcode all of them in the cache manifest file] ...

iPhone web-app: HTML5 database and audio files

I'm having issues with audio files on the iPhone web-app. Seems as each time an audio file is played, it's loaded first then played, even if repeating the same audio on a page that hasn't refreshed (done via javascript). From what I've research manifest files would be great but they are for offline application. I'm now researching HTML5 ...

Scaling an iframe with webkitTransform in Safari creates white border

I have a simple html page in an iframe that I am trying to scale with an html5 input range slider. it creates a white border inside the iframe, what looks to be a doubling side effect. It works perfect in chrome(6.0.472.59 mac), but not in safari (5.0.1 mac). here is a link to live demo - http://dl.dropbox.com/u/1031653/safari-bug.html...

Javascript HTML5 Capture keyCode and write to Canvas

I'm writing an application in which I need to simulate a textarea. The only way I know how to approach it is to capture the keyCode on a key event. How would one go about taking that keyCode and, supporting utf-8, apply that to the canvas? Cheers ...

Do we need "CSS reset" for mobile browsers also?

Do we need "CSS reset" for mobile specific site also? like we need for desktop browsers? Can css reset on mobile sites decrease the performance of rendering? ...

Can I use javascript to dynamically change a video's source?

How can I change a video's source using JS? <video id="myVideoTag" width="670" height="377" autoplay="true" controls="controls"> <source src="http://www.test.com/test.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> </video> ...

how to create android app.

I want to create a small app for android using eclipse to showcase the support of HTML5 on android browser . I have decided to show "offline storege of webpages". For that I need to create a cache.manifest file which will have the details of what to cache. Please provide pointers on how to create a cache.manifest file and where do i keep...

How to use offline application cache correctly in HTML 5

I've started using HTML5 application cache to provide the possibility for users to use web resources even when they're offline. The idea is that the user downloads the page in the morning, and enters data into the form through the whole day. If he happens to be online post the data to the server, if not, it should be cached in localStor...

Html 5 horizontal and vertical align img inside figure

Hi can someone help me horizontal and vertical align a img inside a figure <figure class="frontpagearticlefigure"> <img class="frontpagearticleimg" src="image.png" alt="image" title="imgtitle" /> </figure> and my css .frontpagearticlefigure { display: block; height: 140px; width: 250px; } Im working with html 5 ...

Can I cut and paste structured data in Browsers via Javascript?

My users work with a dozen web applications. Over some I have complete control over others only limited via templates and Javascript (e.g. Zendesk). Between these Applications I want my users to be able to copy and paste structured data. With structured date I mean for example an address encoded as vcard/hcard. So when somebody "copies"...