Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do Windows 8 JavaScript apps support GIF images?

Do Windows 8 JavaScript apps support GIF images? If so, how can I display the GIF image?

I tried this below code but it wasn't working:

<img id="backround" src="images/header.gif" />

Update

I don't need a C# app. I need a JavaScript app.

like image 907
Ramesh Rajendran Avatar asked Apr 10 '13 14:04

Ramesh Rajendran


2 Answers

Yes, since the WWAHost supports all the rendering features Internet Explorer does, it can also render GIF, even animated ones.

If it doesn't work for you, check if the file is included in the solution and the generated package. Also you can try adding a leading "/" to the path.

like image 88
milgner Avatar answered Sep 22 '22 03:09

milgner


The support file types are listed here in the remarks section:

Gif should work but not animated gifs.

like image 32
Niventh Avatar answered Sep 21 '22 03:09

Niventh