html5

How can I save div as image at client side where div contains one or more than one HTML5 canvas elements?

Div 'canvasesdiv' element contains three HTML5 canvases. <div style="position: relative; width: 400px; height: 300px;" id="canvasesdiv"> <canvas width="400" height="300px" style="z-index: 1; position: absolute; left: 0px; top: 0px;" id="layer1" /> <canvas width="400" height="300px" style="z-index: 2; position: absolute; left: 0p...

Mark of the web help required

When I am opening my html page in IE 6 it is giving a info bar on the page , the error is "To help protect your security Internet explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer.Click here for options...." and my page is blank.When I am allowing block content the page is comin...

Ajax calls to the server from canvas tag?

Hi, I have a rails server that has a page with canvas tag containing some images and user interface. Some objects inside the canvas have on mouse click events assigned. I wonder if it's possible to execute ajax calls on clicking the item then processing some data inside the ruby on the rails server and comeback to canvas changing some o...

canvas library for drawing images

HTML5 canvas provides lots of flexibility to draw images using javascript. We need to generate javascript code based on inputs from the user (say something like 10 balls of blue color, 5 squares of green color and of a certain size ...). Is there an library which provides appropriate Javascript API(s) so that it is easier to generate the...

fillText is not working in the Safari 3.

I am using HTML5 fillText method of canvas in my coding.It is working file in IE6+,but it was not working in the Mozilla 3.0, then I have tried with mozMeasureText , after that it is working in mozilla 3.0, but now fillText is not working in the Safari 3+. Is there any solution or patch for the Safari 3+. ...

HTML 5 File Attachment store in a WebSQL Database

I am trying to build a web page (accessed by an Android Phone) where the user can upload a photo from their Phone. Then I want to store the image to a WebSQL database on the phone and send it back to the server via the xmlHTTP.send. Can someone point me in the right direction? Do I somehow need to save the image to a Canvas tag and ...

html5 offline caching with php driven sites

I have a simple php driven website running and I'm trying to figure out how it treats php pages. Some of my php documents are routing logic and some just includes for individual pages. How do i go about making this work offline? What I though was that I'd have to re-create the routing logic in javascript. Is that my only option? In that...

SWF to HTML5 or iPad compatible format

Hey, Is there any SWF to HTML5 converter or any format which can run on the ipad? not smokescreen... other alternatives.......? THANKS! ...

<video> tag not working inside QtWebkit on windows

I can't seem to get an html video tag to play in QtWebkit. It shows up as a blue square with a question mark, like an unsupported plugin. Flash videos play fine, and HTML5 canvas works great. Specs: OS: Windows 7 Qt: 4.6.3 (installed from the qt creator 2.0.1 from nokia's site) PySide: 0.4 (latest) QtWebit configuration (I tried all...

HTML5 canvas: Same code outputs different results in different browsers

In a simple canvas test I created for performance and quality measurement purposes, a canvas is painted with randomised colors and images during an unlimited period. A sample is shown here: http://litterific.com/minisite/ Warning: Only open this in Opera or Chrome, the script is pretty heavy can hang up on slow computers, don't le...

HTML5 Websocket and ISA Proxy issue

Hi, I'm not an expert in ISA server, my issue is the following: var wsUri = "ws://192.168.1.7:8887"; websocket = new WebSocket(wsUri); these two lines work fine. But when I try to get 192.168.1.7 from the external computers I set up rule in ISA server: websocket.domain.com -> (redirect to 192.168.1.7, bridging = redirect request to H...

JavaScript wrapper for Google Gears / HTML5

Are there any JavaScript wrapper scripts available that can use HTML5 JavaScript features if they are available (e.g. locaStorage / Web Storage / anything in common between Google Gears and HTML5), falling back to Google Gears if the browser is not capable (e.g. IE6 or IE7) While it would be ideal that IE7/6 users all move to IE8 (or Ch...

onpopstate event doesn't trigger in Chrome/Safari

Chrome and Safari doesn't trigger the HTML5 onpopstate event. Here is my example: <!doctype html> <html> <head> <title></title> <script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt; <script> window.onpopstate = function(e) { document.getElementById("log").i...

WebGL Framework

I'm planning to write a 3D FPS game, based on WebGL. Should I use some WebGL framework? What is the most active and popular WebGL library today? Does it support LOD, Heightmaps, COLLADA and some Materials system? Thanks. ...

Playing an FLV video with a fallback on HTML5

I told my boss to use HTML5 with a fallback on FLASH. But he said he wants FLASH as the first option, and if the browser (ipad or any other) can't recognize the FLASH , it should play the MP4 file we got. I suggested HTML5 with fallback on Flash. But he wants the opposite. How can I get that done ? Do you guys have sample code ? So...

A html5 web app for mobile safari to upload images from the Photos.app?

Hello Is it possibly to write a HTML5 web application designed for the iOS devices (iPad, iPhone, iPod Touch) which can allow the user to upload an image from the filesystem? Imagine uploading a new photo to your twitter avatar via a web app. Thanks. ...

HTML and CSS version used in VS 2008

I am currently using VS 2008 and Asp.net 3.5 with the basic tool kit provided. What i want to know is the version of CSS and HTML that it uses. I was going through HTML 5 is it possible to use it and the latest CSS version ? Thanks ...

How to code anchor tags as block element to contain other block elements

I am experiencing the same problem described in this thread. I'm wondering if there are other ways to achieve the same result and avoid this issue. Apparently Firefox has issues with anchor tags containing block elements even when the display CSS property of the anchor tag is set to "block". The effect that I am trying to achieve is to ...

Create 2d context *without* canvas

I am currently looking for a way to create a canvas 2d rendering context without actually having a canvas element on the page. I could dynamically create a canvas element and hide it, but then again I don't want to show the image directly to the user anytime, so there's no point of actually having a canvas element in the page. So I'm bas...

How to harness HTML 5 Canvas with editing tool on iPad

Hey guys, So my company is trying to experiment with enabling an "Autodesk WS-like" (http://www.autocadws.com/mobile) interface though our tool. Our tool has a lot of the same ideas, lay something out, change properties, etc. So the basics of the application seem like they would be very similar. We think it was done with a healthy am...