DHTML Forum  

Go Back   DHTML Forum > dhtmlcentral.com > Crossbrowser DHTML
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27.10.2003, 06:58
danituziel danituziel is offline
Benutzer
 
Join Date: 19.05.2003
Location: Israel
Posts: 31
Default

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 28.10.2003, 02:06
weblogic weblogic is offline
Erfahrener Benutzer
 
Join Date: 18.04.2002
Location: USA
Posts: 907
Default

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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT +2. The time now is 04:58.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.