|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/testregisgroup/js/menu/extras/frames_menu/ |
Upload File : |
<html>
<head>
<title>Frames Test</title>
<link rel="stylesheet" type="text/css" href="frames.css">
<script type="text/javascript" src="../../milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=../../mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=../../mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="menu_data_body.js"></script>
</head>
<body>
<h1>page5.htm in the "body" frame</h1>
<p>
This page has been loaded into the "body" frame.
The submenus still work because the base Milonic .js files (milonic_src.js and mmenudom.js/mmenuns4.js)
have been loaded into the page, along with menu_data_body.js, which contains the javascript code for the
submenus. The code used to load the .js files into this pages is as follows:
</p>
<pre><code>
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="menu_data_body.js"></script>
</code></pre>
<br>
<p class="note">
<b>Directory Paths.</b> When loading the .js file, your would of course adjust the
paths shown in the <script> tags above, to relect your own site's directory structure.
</p>
<div id="milonic" style="position: absolute; top: 400px; left: 10px">
<a href=http://www.milonic.com/>JavaScript Menu Courtesy of Milonic.com</a>
</div>
</body>
</html>