Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Off Topic / Other:
please help ...iframe in IE

 

 


sariline
Novice

Mar 18, 2009, 2:59 PM

Post #1 of 2 (26928 views)
Shortcut
please help ...iframe in IE Can't Post

Hi
Please I’am in need of any help
I used this function to hide hide/show layers :

Code
function MM_showHideLayers() { //v6.0 
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}

But I have a problem with the iframe in IE
It doses not work with it

With all thanks
you can only go as far as you push.


sariline
Novice

Mar 25, 2009, 4:18 PM

Post #2 of 2 (26258 views)
Shortcut
Re: [sariline] please help ...iframe in IE [In reply to] Can't Post

hi

i think that i have found a solution
all we need to do is to add :
style="display:none"

and those funtions too :
function showFrame(){
fr = document.getElementById ("textFile");
if (fr.style.display!='none'){
fr.style.display="block";
}
else {
fr.style.display="block";
}
}
function HideFrame(){
fr = document.getElementById ("textFile");
if (fr.style.display!='block'){
fr.style.display="none";
}
else {
fr.style.display="none";
}
}

i wish it may help
with all thanks
you can only go as far as you push.