Hi All,
I'm am attempting to figure out if I can call two seperate menu files with a single document. I have had multiple menus that references one menu_data.js and it works fine. But now I'm looking to seperate the two menu into different files. In my Index.htm I have my script lines that
call my java, (see below)
<script type="text/javascript" src="/java2/milonic_src.js"></script>
<div class=milonic><a href="http://milonic.com/">JavaScript Menu, DHTML Menu Powered By Milonic</a></div>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=/java2/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=/java2/mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="/java2/menu_data.js"></script>
<font face="Arial, Helvetica, sans-serif">
Can I have another set of line that reference a seperate folder with different java and menu style? Maybe to java3/house2_data.js?
Thanks for all the help,
Matt
Calling Two Seperate Menus from one page
- Matt Stano
- Beginner
- Posts: 9
- Joined: Wed Aug 31, 2005 9:15 pm
- Location: Hampton, NH
Calling Two Seperate Menus from one page
-------------------------------
"Outside a dog, a book is man's best friend.
Inside a dog, it's too dark to read."
~Groucho Marx~
Matthew Stano
"Outside a dog, a book is man's best friend.
Inside a dog, it's too dark to read."
~Groucho Marx~
Matthew Stano
Yes, you can do that as you described (if I understand it correctly). Only one set of calls to the code files is necessary, but you can have as many _data files as you need.
See http://tiggrsuccess.com/ for an example of a horizontal and a vertical on the same page.
See http://tiggrsuccess.com/ for an example of a horizontal and a vertical on the same page.
John