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 ...
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}...
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.
...
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?
...
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...
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!
...
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?
...
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...
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...
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...
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?
...
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...
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...
...
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...
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.
...
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 ...
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 ...
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/...
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...
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.
...