My webpage consists of 3 frames(top, left and main). On event onclick in "main" I want to control the show /hide of "left" frame. The javascript has to work in both NS7.0 and IE6.0. A solution with sample javascript will be of great help. The HTML for mywebpage is given below.
<html> <head> <title>My webpage</title> </head>
<frameset rows="50,*" > <frame name="Top " src=http://www.webdeveloper.com/forum/archive/index.php/"Top.html" marginwidth="0" marginheight="0" noresize scrolling="no">
< FRAMESET COLS= "200,*" > <FRAME name="Left" src="left.html" marginwidth="5" marginheight="5" scrolling="auto" > <FRAME name="main" src="main.html" marginwidth="5" marginheight="5" scrolling="auto" > </FRAMESET>
</FRAMESET>
</html>
<html> <head> <title>My webpage</title> </head>
<frameset rows="50,*" > <frame name="Top " src=http://www.webdeveloper.com/forum/archive/index.php/"Top.html" marginwidth="0" marginheight="0" noresize scrolling="no">
< FRAMESET COLS= "200,*" > <FRAME name="Left" src="left.html" marginwidth="5" marginheight="5" scrolling="auto" > <FRAME name="main" src="main.html" marginwidth="5" marginheight="5" scrolling="auto" > </FRAMESET>
</FRAMESET>
</html>