PDA

View Full Version : Hiding HTML contents on frame load


shinde_vishvana
10-19-2007, 05:58 AM
Hi,
I want to hide contents of html page when certain frame is loaed. By hide I mean when The frame get loaded at that time other HTML contents should be hidded with some semitransparent image & only loaded frame should be clickabel. All the other HTML content needs to be inactive.

For example
<html>
<head>
<script language=JavaScript>
</script>
</head>
<frameset rows="40%,*">
<frame id="frame1" name="frame1" src="two.htm" />
<frame id="frame1" name="frame2" src="three.htm" />
<frame id="frame2" name="frame3" src="one.htm" onafterload="check()"/>
</frameset>
</html>

when check function is called only frame3 should be visible & rest of the frames & their contents should be hidded with a semitransparent colour shade. & these contents should be unreachable by any means by user!

Help me :confused: