可以在父框架和子框架之间共享 JavaScript 文件吗?我的想法是防止在每一帧上重新加载相同的 JavaScript 文件。例如,如果我在父级上有 jquery.js 文件,则在子框架上,该脚本可以从父级继承。
帧源:
<frameset rows="78px,*" framespacing="0" frameborder="0" border="0">
<frame src="indexFrame.html" name="status" id="status"/><!-- noresize="noresize" scrolling="no"-->
<frame src="DeviceTreeMenu.html" name="desktop" id="TreeMenu"/>
<noframes>
<body>
<p>This page requires frame support and apparently this Web browser doesn't support this feature. Please check the Browser configuration, switch to another browser or try the <a href="menu.html">menu page</a> as a resort.</p>
</body>
</noframes>
</frameset>
谢谢