Update: Please disregard, my problem was caused by an advertisement bar being inserted by the vendor who provides my workplace wireless service.
I was building a mobile friendly website and wanted to use HTML 5. However when I specify the doctype as <!DOCTYPE HTML> , I get a gap at the top of the page on safari on the iphone.
I notice ...
Like many web developers I'm looking forward to streaming video that utilizes the new HTML 5 <video> tag. Browser support definitely isn't wide enough yet, so using a Flash/SWF fallback is a must.
This got me thinking: in Flash it's possible to highly customize the playback controls (pause, play, stop, seek, volume, etc.) in HTML 5?. Wh...
Please write code.
How will HTML5 code differ from HTML4?
...
I'm using php eclipse to create web pages, with which i can select different templates as i wish for ma coding purposes. But i the case for html files, i'm shown the templates upto html 4.1 and xhtml1.0 only. I can't find any html 5 templates there. I need to code in html 5. The absence of the template is causing the ide to show warnings...
I am able to create an iframe which occupies entire screen. But I am not able to make the contents of the background hidden, In other words, I want an iframe which is opaque. I am currently trying like this:
<iframe name='myifrmae' allowtransparency = 'false' background= '#FFFFFF' id = 'myiframe' src = 'main.html' style='position:abs...
I've seen many CSS compatibility list for browsers, Is there any list for X/HTML tag? or all browsers supports all tags?
Is there any list for all major browser's supported HTML, XHTML and HTML 5 supported TAGS?
...
I have a png image with white edges. I would like to make the edges transparent.
Is there a way to specify a color to be not painted - like a color key or alphamask.
Are there any examples?
For example this image has white edges, and I would like to paint two of them close to eachother without the white.
How can I do that in javasc...
Is there a possibility to render an visualization of an audio file?
Maybe with SoundManager2 / Canvas / HTML5 Audio?
Do you know some technics?
I want to create something like this:
...
I am looking at HTML5 information at W3. Some of the new functionality seems interesting.
Which browsers support it?
How can I ensure that I am using HTML 5?
Is there a way to be told that "there is an HTML 5 command you should be using" if I use something in HTML 4 or what not?
HTML 5 Canvas is supposed to allow a lot of Flash type ...
I hear that Firefox 3.6 adds support for the HTML local file API (Announcement here).
Does this mean that I can access local files from javascript?
Can anyone point me to examples for reading / writing local files?
I would love to be able to read / write simple text files.
Many thanks
...
Is it possible to do something like this:
begin;
insert into some_table (some_col, another_col) values ('a', 'b');
insert into some_table (some_col, another_col) values ('c', 'd');
...
commit;
...in HTML 5?
With each transaction being async and having it's own callback, seems to me that it would be difficult to write a ro...
I've been trying to set up a storage listener, similar to the one seen here:
http://developer.apple.com/safari/library/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/Name-ValueStorage/Name-ValueStorage.html#//apple_ref/doc/uid/TP40007256-CH6-SW6
However, when a set a value like so:
localStorage.setItem('hello', 'world');
or ev...
Hi
I'm trying to use HTML 5's local database feature on a Mac Dashboard widget.
I'm programming in Dashcode the following javascript:
if (window.openDatabase)
{
database = openDatabase("MyDB", "1.0", "Sample DB", 1000);
if (database)
{
...database code here...
}
}
Unfortunately the database-variable remains alway...
To save both client download time and network usage, is it possible to use the localStorage feature of HTML5 to store contents of linked stylesheets, javascript files and binary data (e.g. images), rather than hitting the server each time?
Would that just complicate things - since I assume you would have to add the linked asset via Java...
I'm trying to write an iphone web app displaying info from a small ish database while offline. Is it possible to prepare a db and download that rather than downloading the data in some other format and creating it on first use?
if i have to create db, what would be a good format (is there eg compressed xml?) to send data?
is there a ma...
Hi there,
After experimenting with composite operations and drawing images on the canvas I'm nog trying to remove images and compositing. How do I do this?
I need to clear the canvas for redrawing other images; this can go on for a while so I don't think drawing a new rectangle every time won't be the most efficient option.
Thanks!
...
I'm looking for a way to draw a self intersecting polygon with holes, I'm using the HTML Canvas element.
So given 5 points, I want to draw the red one below.
This question is essentially the same thing.
Note: I don't want to do this using line intersections and adding more points, the actual paths I will be using will be curved.
...
I have a PHP/MySQL site I'm thinking about converting into a HTML5/JavaScript that could be run off of a users computer locally. I would like the user to be able to download my site, extract it and use it without a network connection. A static mirror of this site would hundreds of megabytes while the actual data is under 10 megabytes. Is...
I have a wysiwyg editor using the HTML 5 drag-drop api to allow the user to place widgets within the page they are editing. When the OnDrop event fires, I prevent the default event, and insert some html within the editor that represents the widget they inserted. I use execCommand("inserthtml", false, html) for this in Firefox.
This work...
The Problem is:
I get the following structure (generated in PHP) sent via JSON as a string.
<article>
<header>
<h2><a href="#">url</a></h2>
<p><time datetime="2009-11-05">05 Nov 2009</time></p>
</header>
<div class="entry">
<p>something</p>
...
</div>
<footer>something</footer>
</article>
I have a list of arti...