![]() |
|
#1
|
|||
|
|||
|
hello all
I have been working with frames in IE and everything is ok as usual but now, trying to change the width of a frame in Netscape doesn't do anything! code: <FRAMESET rows="57px,*" frameborder=0 border=0 marginheight=0 marginwidth=0 height=0 width=0 leftmargin=0 topmargin=0> <FRAME id=frame1 SCROLLING="NO" SRC="Meydatop.asp" noresize LANGUAGE=javascript> <FRAMESET cols="*,120px" border=0 id=<font color="red">main</font id="red">> <FRAME id='frame2' name='frame2' src = <%=Addr%> noresize> <FRAME SRC="MeydaRight.asp" name="RightBar" SCROLLing="no" frameborder=0 border=0 marginheight=0 marginwidth=0 height=0 width=0 leftmargin=0 topmargin=0> </FRAMESET> </FRAMESET> in the frame page: var FramObj=parent.top.document.getElementById("<font color="red">main</font id="red">") FramObj.cols='*,0px' !------------------- in IE it works! my aim is to make the right frame like disappear! what can i do to fix this? |
|
#2
|
|||
|
|||
|
Hmm.... worked fine in my version of Netscape. Perhaps you are using 4.x? In that case parent.top.document.getElementById is not a function.
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|