<Script language = JavaScript>
Function modulezone (ID, show)
{
VaR S = (show = true )? "Hidden": "visible ";
// Alert (s );
Document. write ("<Div id = modulezone _" + ID + "style = position: absolute; width: 100%; Height: 100%; visibility:" + S + ";> <Table Style = 'width: 100%; Height: 100%; 'border = '0' cellspacing = '0' cellpadding = '0'> <tr valign = middle> <TD> <IFRAME src = 'about: blank 'frameborder = '0' style =/"position: relative; visibility:" + S + "; width: 100%; Height: 50%; filter = 'progid: DXImageTransform. microsoft. alpha (style = 0, opacity = 50) ';/"> </iframe> <Table Style = 'width: 100% 'border = '0' cellspacing = '0' cellpadding = '0'> <tr> </table> <IFRAME src = 'about: blank 'frameborder = '0' style =/"position: relative; visibility: Inherit; width: 100%; Height: 50%; filter = 'progid: DXImageTransform. microsoft. alpha (style = 0, opacity = 50) ';/"> </iframe> </TD> </tr> </table> </div> ");
}
</SCRIPT>
Note:
ID: the name of the layer;
Show whether to display this region
Example
<Span style = "width: 100%; Height: 100%">
<Script language = JavaScript>
Modulezone ("ID", false)
</SCRIPT>
Lkalsdf
ASDF
ASF
ASF
</Span>