html5

Is it possible to develop a web site for a touch based browser without using HTML5 or CSS3?

I'm developing the CSS file for the mobile version of the website my group are working on for our web design coursework, and I was wondering if it was possible to design a site for touch based browsers using the currently ratified specification of HTML and CSS, as the other member are doing for the desktop variant, or am I going to have ...

DOM parser that allows HTML5-style </ in <script> tag

Update: html5lib (bottom of question) seems to get close, I just need to improve my understanding of how it's used. I am attempting to find an HTML5-compatible DOM parser for PHP 5.3. In particular, I need to access the following HTML-like CDATA within a script tag: <script type="text/x-jquery-tmpl" id="foo"> <table><tr><td>${name}...

Is there an HTML5 version/equivalent of Uploadify (the jQuery plugin) ?

Ideally, would like to be able to easily do drag and dropping of files to be uploaded. If so, where can I find it? Thanks. ...

Rails 3 uses HTML5 features. Do I need to do something for older browsers?

Many people still use IE 6 and other lower version browser. HTML5 is new, many browsers don't fully support it. If I want to use Rails 3, do I need to do some extra work? ...

Storing HTML5 Geolocation information in MySQL

Hi, I've been experimenting with a simple project that essentially just stores the number of visits to the sites, along with the latitude / longitude of the user (it's mainly for people visiting via the iPhones Safari browser). I've managed to store the 'clicks' to the page via PHP / MySQL, and I can display the users lat / long via th...

html5 canvas element how to get width and height

hello, how can i get the width and height of the canvas element in javascript? also, what is the "context" of the canvas i keep reading about? thanks! ...

Can I use jQuery with HTML5?

Possible Duplicate: What browsers support HTML 5 / CSS3 I keep hearing about HTML5. If I start learning it and using it, will I have any browser compatibility issues? I use jQuery considerably. Has it been upgraded to be compatible with HTML5? Basically, is it safe to use HTML5 now, or better to wait? ...

FreeMarker cannot seem to parse HTML 5 data-* atttributes, chokes on dash

I wrote a simple custom directive, and have it pass all attributes through as regular element attributes. The syntax of the tag as follows: <@link_to controller="unobtrusive" action="do-get" data-target="result">Do Get Unfortunately, I get an exception: Caused by: freemarker.core.ParseException: Encountered "-" at line 32, column 5...

Javascript 2D image pixel collision check

Hello, Im trying to get pixel collision in one of the games im working on. It has to be a pixel collision on one row of pixels on the X axis. One of the things I tryed was: var imgData = context2D.getImageData(160, 0, 3, Height); And Height is afcorse the canvas height. But this gives me a Security error" code: "1000. This only happe...

HTML Canvas Full Screen

Hi I'm playing with the following app using the HTML Canvas: http://driz.co.uk/particles/ At the moment it is set to 640x480 pixels, but I would like to make it full screen as it will be shown a projector. However as far as I can tell I cannot set the canvas size to be 100% as the variables only except numbers and not the %. Using CSS j...

How is the swoosh done on beautyoftheweb.com?

On Beauty of the Web, there is a purple/blue swoosh at the beginning, if you are in IE9 or Chrome. How is that done? What is that? How come it only displays in IE9 and Chrome? ...

Concatenate video clips with HTML <video> tag?

I am working on a web-based video editor. I wanted to be able to take clips from multiple video sources and create a single video from them (probably using handbrake of ffmpeg). Here's an example of what I'm looking to do: http://www.kaltura.org/apis/html5lib/mwEmbed/modules/Sequencer/tests/Sequence_Editor.html It reads from a SMIL...

JQuery will not exist in future?

Hello I was checking out HTML5 new javascript commands and there is something similar to: var els = document.querySelectorAll("ul li:nth-child(odd)"); This allows you to find all elements by css syntax. But I sure Jquery also has something a little similar to this. The question is, as browsers are getting better javascript APIs... ...

HTML5 Web SQL DB - Maximum table size?

I'm part way through building a fairly complex HTML5 web app, that retrieves its data from a Web Service to populate the Web SQL databse. All was going well with the test data, then I tried using some real data (a table with around 10 cols and over 180,000 rows) and ran into some issues. I am sending the SQL responses in "chunks" of 50...

How to make input type="range" trigger an overflow scroll?

I have an input type="range" that is bigger then its parent. I want to make it scroll when the slider-thumb exits the parent width. Here is an example, when you exceed the parent width there should be a scroll. How can I do that? http://jsbin.com/ikemo4/edit Please note that input type="range" will only work in WebKit browsers. ...

How can I add a parameter to the manifest file HTML5 for offline mode?

Hello, I have a web application and I want to make it run offline as well. In this application I just have a form and I am using PHP for submitting it. I am using a manifest.php file like the one described in http://building-iphone-apps.labs.oreilly.com/ch06.html . The problem is that I need somehow to add the parameters from the form ...

Why might cache-manifest fail to get mobile Safari to cache site while working as expected on desktop?

I'm playing around with a simple web app locally, and can't quite figure out why it is not caching correctly on the iPhone. I am serving a .manifest file with the correct MIME-type, and the site works perfectly fine with my local server turned on or off on desktop Safari, Chrome and Firefox. It is only mobile Safari that is failing to ...

Seamless drawing in multiple canvas.

Hi! I'm trying to make a simple drawing tool using JS and Canvas element. My problem is that I would like to have several canvases and user should be able to draw one line through all of them. Here's a little page I did: <!DOCTYPE html> <html> <head> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/...

Photo Gallery - Dynamically Determine the width/height of an Image to Maximize the view

Hello, I'm building a photo gallery. The photo gallery consists of images that users upload. These uploads are resized, and can be of any dimension, 100x100, 2500x2500. My Photo Gallery View page is Fluid, meaning the width of the page is not fixed. In the Photo Gallery page I display the original Image updated - no resizing ( though I...

Are there any Good Open API for Web Frontend Paint Tools ?

Hi Stack Overflow! I'm currently attempting to develop an HTML5/JavaScript application which is similar to: http://mugtug.com/sketchpad/ The source is right there, but I think I'd run into some copyright issues by cutting/pasting (I suppose I could contact them), but I'd rather use some free APIs that would have similar functionality. ...