Hi
This script works only for internet explorer, showing and hiding frames, it´s
useful to hide a control menu while editing records in the editing section
How can i make it work in firefox, netscape and other browsers ?
Thank´s in advance
Javascript script :
[code]
var Menu_Min = false;
function MinMax_Click(){
if(Menu_Min){
//frm.seta.src = “images/seta1a.gif”;
//frm.seta.src = “images/SetaEsq.gif”;
parent.lateral.cols = ‘170,*’;
Menu_Min = false;
}else{
//frm.seta.src = “images/SetaDir.gif”;
//frm.seta.src = “images/seta1.gif”;
parent.lateral.cols = ‘1,*’;
Menu_Min = true;
}
}
<!– Add it in the html code –>
<SPAN id=”MinMax” style=”CURSOR: hand;” onclick=”return MinMax_Click();”>
<IMG SRC=”../../img/SetaDir.gif” WIDTH=”7″ HEIGHT=”13″ BORDER=”0″ ALT=”show/hide the menu frameset” id=’seta’>
</SPAN>