Wednesday, December 22, 2010

JFlip Fix for IE Browser

Have you ever used the cool jquery plug-in called jflip? This plug-in developed by Renato Formato simulates page flipping for image gallery. 

If you are not cautious in using the plug-in, you may notice that internet explorer (IE8 in my case) does not display the images along with the supposed cool flipping effect. You may notice that the browser yields an error like 'G_vmlCanvasManager' is undefined with reference to the query.jflip-0.4-min.js.

You may get suggestions like use <!--[if IE]><script type="text/javascript" src="js/excanvas.js"></script><![endif]--> in the HTML header tag. That might solve the problem for some, but if you get another error, try using the excanvasX.js to fix the browser bugs further. Just place it your site directory and don't forget to reference it in the header, before the jflip script. It may look like this: <!--[if IE]><script type="text/javascript" src="js/excanvasX.js"></script><![endif]-->, it depends on your directory structure.

Check again your flipping image gallery in IE to see if that fix really works.


1 comment: