HTML5 Application Development

How can I get a .gif to animate with HTML 5?

I used this function to put BE4.gif on the canvas but it doesn't animate and only shows the first frame of the .gif (it's an animated .gif, of course).

function func(){ var ImageCanvas=document.getElementById("canvas1");
if(!ImageCanvas.getContext){return;}
var context=ImageCanvas.getContext("2d");
var imgDraw=new Image();
imgDraw.onload=function(){context.drawImage(imgDraw,0,0);};
imgDraw.src="BE4.gif";
}

What can I do?

Intel App Preview can not authenticating on Windows Phone 8.1 (Lumia 520 updated)

[I'm sorry if my English is not good ]

Some days ago, I still can login to Intel App Preview on my Lumia 520 ( Win Phone 8.1 updated ) , but now I can not do this, when I login to the app it halt at authenticating process. I don't know the reason when ( because my network or anything else...) , I tried it many times but didn't succeed. I still login XDK successfully on my PC.  Any body here have the same problem, please help me! thanks a lot.

Missing images on app Load

When I publish an app to test or go live in Google play the index page always seems to display without the images, if I tap to another page the images appear as well as the images on the index page if I hit the back button. Same thing happens for the background color (not an image just bg color attribute), I made the images smaller in file size thinking it may help but it still happens.

Missing images on app Load

When I publish an app to test or go live in Google play the index page always seems to display without the images, if I tap to another page the images appear as well as the images on the index page if I hit the back button. Same thing happens for the background color (not an image just bg color attribute), I made the images smaller in file size thinking it may help but it still happens.

JavaScript Bridge API's

Hi,

I'm new user of Intel XDK and still scrutinizing its richness. Can someone tells me where I can get clear documentation of

JavaScript bridge API's other than  that of XDK? Example cordova and xhr. I have  seen these API's in some sample codes used in 

conjunction with XDK JavaScript bridge API's and I would wish to grasp them too.

 

 

 

Iscriversi a HTML5 Application Development