Login Register

A small issue for dojo.io.iframe

Hi,

there is a small issue with iframe. something I need iframe initialized as invisible, but I had check the code, and the parameter for the visibility is not parameterized, so it is not easy to customize the iframe, I hope we can have the feature soon.

I am a beginner, so in case if you know some better way to customize the iframe, please tell me. Thank you very much.

code from dojo.io.iframe

with(cframe.style)
{

// if(!dojo.isSafari)
{
//We can't change the src in Safari 2.0.3 if absolute position. Bizarro.

position = "absolute";

// }

left = top = "300px";

height = width = "300px";

//visibility = "hidden";

}

hmm that

hmm that //visibility="hidden" was a mistake that shipped only with the 1.0.0 version (it was fixed in trunk, and then released in 1.0.1 shortly thereafter)