hi
in my frame page i have 3 horizontal frames.on onchange of select box i m displaying pages into this frame.problem is for only one item in select box i have to disaplay pages in 3 frames.but for all other i want to show only 2 frames.rite now i m displaying balnk.htm file in 3rd frame.but i want to utilize space of 3 rd frame so my 2nd and 3rd will become one.
how to do this?
Code:
on on change event i m calling this function in javascriptCode:<Frameset Border=0 Rows="30%,40%,30%"> <Frame name="ShowMembers" NoResize Src="ShowMembers.asp"> <Frame name="ShowFolders" NoResize id="ShowFolders"> <Frame name="ShowFiles" NoResize id="ShowFiles"> <NoFrames> <Body> <P>This page uses frames, but your browser doesn't support them.</P> </Body> </NoFrames> </Frameset>
Code:
see the bold line .i dont want to display balnk page.Code:function FnGotoFrame(MemID,MemName,vlCounter) { var i; for(i=1;i<=document.getElementById("HTotalCount").value;i++) { if(i != vlCounter ) { eval(document.getElementById("cboAction_" + i )).value = ""; } } if(document.getElementById("cboAction_" + vlCounter).value == "") { parent.ShowFolders.location = "../../blank.htm"; parent.ShowFiles.location = "../../blank.htm"; } else if(document.getElementById("cboAction_" + vlCounter).value == "1") { parent.ShowFolders.location = "/Plugins/Ftp/showFolder.asp?hidMemberID=" + MemID parent.ShowFiles.location = "../../blank.htm"; } else if(document.getElementById("cboAction_" + vlCounter).value == "2") { parent.ShowFiles.location = "../../blank.htm"; parent.ShowFolders.location = "/Plugins/ProtocolSettings/showSettings.asp?hidMemberID=" + MemID } else { parent.ShowFiles.location = "../../blank.htm"; parent.ShowFolders.location = "/Plugins/MemberMaintenance/TraderDocumentTypes.asp?hidMemberID=" + MemID } }
hope it make some sense.
sorry for cross posting.



LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks