I am trying to use the HTML5 canvas element to draw some arcs and circles - this works perfectly in FF but IE8 does not seem to support it.
Now, there exist Javascript libraries which seem to make IE8 work well with Canvas. An example can be found here:
http://thejit.org/Jit/Examples/Hypertree/example1.html
I have read their entire so...
Can somebody please refer me to a comprehensive tutorial on Canvas which covers all properties / functions?
I also need a definite reference on Canvas - something like w3schools
...
I'm a little out of date, before HTML4 and javascript got AJAXy. Does anyone have opinions about the best tools for web site design? I'd rather avoid ASP and .NET, since I've got a limited budget. This seems like a good time to start fresh.
Please keep the replies on the coding recommendations, as I already know how to register a dom...
i wanna draw a login interface,so i have to draw the textfield to input and button to submit!
if i achieve it by using input and button tag,it will be easy!but i was required to draw them in the canvas using html5.0 . i have searched google for two days,i cannot find a good idea!
who has experience? help me!
thanks in advance!
...
I just read about HTML 5's WebSocket interface. How can I start trying this? What browser versions have implemented this already?
...
I am looking at the custom attributes feature of html 5 here at this link
http://ejohn.org/blog/html-5-data-attributes/
This look like the perfect thing for when I am using jquery/javascript.
My question, Is HTML 5 supported by all the main browsers?
example
<li class="user" data-name="John Resig" data-city="Boston"
data-la...
I am amazed at what can be done with HTML5 canvas (take bespin or google wave as examples). It seems it is a revolutionary approach which really leverages widespread standards and technologies (html, javascript and css) and pushes them to a new level.
It seems that HTML5 is a very strong contender for RIA solutions with strong points in...
Maybe I'm an idiot but I don't quite get what goes in the header of my HTML to use XHTML w/ HTML5. Is this still good and we just add the HTML5 tags?:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html dir="ltr" lang="eng" xmlns="http://www.w3.org/1999/xhtml">
Or i...
Does anyone have an example of how to add additional headers to the Thin Ruby server? Specifically, I need to add either "Accept-Ranges" or "X-Content-Duration" for media based files served, ogg audio and video mostly, served via the new HTML5 media elements.
If someone has a fix for this, or a link to a really good tutorial about Rack,...
What differences are expected of XHTML5 versus HTML5? I understand that XHTML5 is the XML form of the language and HTML5 is the SGML form of the language, which means obvious minor syntax differences. Will there be any further differences? Will XHTML5 deprecate completely worthless elements that were not deprecated by HTML5? Will XHT...
I can make a obj to use the canvas to draw like this:
MyObj.myDiv = new Canvas($("effectDiv"), Setting.width, Setting.height);
Then, I use this to draw a rectangle on the canvas:
var c = new Rectangle(80, 80,
{
fill: [220, 40, 90]
}
);
var move = new Timeline;
move.addKeyframe(0,
{
x: 0,
y: 0
}
);
c.addTimeli...
When creating a doctype for an System.Xml.Linq.XDocument like this:
doc.AddFirst(new XDocumentType("html", null, null, null));
The resulting saved XML file starts with:
<!DOCTYPE html >
Notice the extra space before the closing angle bracket.
How can I prevent this space appearing?
I'd like a clean way if possible :)
...
So HTML 5 has been widely publicised as expected to be ready in 2022. This is a long time to wait, and the test for that readiness is that "at least two browsers to completely pass [HTML 5 test suites]"
Obviously for browsers to pass this test they have to start implementing usable HTML 5 features before that. The list of new HTML5 fea...
I can draw text using these code:
myCanvas.fillStyle = "Red";
myCanvas.font = "30pt Arial";
myCanvas.fillText("Some Text", 10, 30);
I want to add a border around "Some Text", any ideas on that?
...
Ok, so I'm not quite sure the difference between these languages. Could someone clarify? I know that XML has user-defined tag and html is pre-defined, but thats basically the extent of my knowledge.
I know that HTML5 is supposed to replace HTML, but wasn't XML supposed to do that as well? Basically, which languages here are a substit...
I found a vector library on the Internet that even works with IE6!
http://raphaeljs.com/index.html
It's amazing.
Now my question is it better than the upcoming HTML5 <canvas>? The only reason I ask is that it could be years before Microsoft implements a <canvas> that doesn't require a plugin for it to run.
And it will be even long...
I'd like to know if there is a way to dynamically modify/access the data contained in html images just as if they were an html5 canvas element. With canvas, you can in javascript access the raw pixel data with getImageData() and putImageData(), but I have thus far been not able to figure out how to do this with images.
...
I heard about the Web Sockets Interface in the HTML file specification from a relevant question here.
It sounds very promising!
I don't understand how it works does it still use the HTTP protocol and works-around it or does it work something like TCP sockets?
...
I would like to create an editable "textarea" with text highlighting (e.g. different colours, bold) and I am not interested in backward compatibility with old (and meybe current) browsers.
It isn't a code editor, but something similar. So it is really different from CkEditor, because the content should appear formatted to the user, but ...
Any suggestion is highly appreciated.
...