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("
Latest Articles by Author
-
2024-10-22 09:46:29
-
2024-10-13 13:53:41
-
2024-10-12 12:15:51
-
2024-10-11 22:47:31
-
2024-10-11 19:36:51
-
2024-10-11 15:50:41
-
2024-10-11 15:07:41
-
2024-10-11 14:21:21
-
2024-10-11 12:59:11
-
2024-10-11 12:17:31