Hi,
I am trying to load a GIF image to describe that the page is loading in a newly opened window which is created by window.open() method.The gif is loading properly in firefox browser whereas its not loading properly in chrome(It means the GIF animation is not playing.It is just showing the image).How to make it animate in chrome.Need some help.


Capture.PNG
Here is my code:

var imgurl = window.location.protocol + window.location.host +
"/ProjectName/Images/ProjectName/loadingplswait2.gif";
var link = document.createElement('link');
link
.type ='image/gif';
link
.rel ='shortcut icon';
link
.href = imgurl;
childScope
.document.getElementsByTagName('head')[0].appendChild(link);