Home > Web Front-end > HTML Tutorial > Questions about frameset loading order_html/css_WEB-ITnose

Questions about frameset loading order_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:54:22
Original
1656 people have browsed it

The code is as follows:

   <frameset id="thisFrame" cols="13%,*" rows="*" border="2px"  bordercolor="#CFB53B" frameborder="1" framespacing="2"   >		    <frame id="fLeft" name="LeftFrame" src="LeftTree.aspx" scrolling="auto" frameBorder=0   />		    <frame id="fRigth" name="MainFrame" src="OfficeIndex.aspx" scrolling="no" frameBorder=0 />	</frameset>
Copy after login


The interface is divided into two columns. The left is the tree structure menu, and the right is the main functional area. In the right interface, there is a ToolBar, which is The corresponding operation permissions must be assigned according to the running permissions on the left, that is, you should run "fLeft" first, go to the corresponding permission parameters, and then run fRight. However, debugging found that the loading order of the browser is not necessarily certain, and sometimes Load fLeft first, sometimes load fRight first. Masters, please tell me, is there any way to set it to load from fLeft first? .


Reply to discussion (solution)

Set the right src to empty
After loading js on the left, set the right src

Set the right src to empty
After loading the js on the left, set the right src


How to write the js to set the right src? ? There is no fRight item in this.parent.item. Did I write it wrong? ?

Write in Page_Load of LeftTree.aspx:
Response.Write("

Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template