Calendar embedded in an iFrame seems to "Dissappear" in Internet Explorer

A few customers have reported an issue with a calendar embedded in an iframe "disappearing"  in Internet Explorer 7 and 8.  We have found that curvycorners.js has been the culprit.   The curveycorners javascript is generally used to get curves on html elements in browsers that do not support curves.

We recommend either not using curvycorners on the calendar page or applying the fix to curvycorners as described below.

Here is an excerpt from http://antoine.goutenoir.com/blog/2010/09/30/curvycorners-why-sometimes-you-just-shouldnt-use-it/

Curvycorners : why sometimes you just shouldn’t use it
Posted on September 30, 2010 by antoine

As of this post’s date, if you are building a complex website, with iframes (eg: facebook social gadgets) or interaction with flash from javascript, you probably do NOT want to use curvycorners.js.

It makes iframes disappear. There’s a fix to put at the end of the curvyCorners () function :

function curvyCorners() {

var i, j, boxCol, settings, startIndex;

/* [......... STUFF ..........] */

var obj = new curvyObject(settings, theBox);

obj.applyCorners();

}

}

// IFRAME FIX ////////////////////

var iframcount = document.getElementsByTagName('iframe');

for (var yoyo = 0; yoyo < iframcount.length; yoyo++) {

iframcount[yoyo].src=iframcount[yoyo].src;

}



Article ID: 115
Last updated: 25 Apr, 2012
Revision: 1
Trouble Shooting -> Calendar embedded in an iFrame seems to "Dissappear" in Internet Explorer
https://www.calendarwiz.com/knowledgebase/entry/115/