Naming 2 different menus on same site

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Surfergirl
Super Advanced
Super Advanced
Posts: 77
Joined: Fri Jun 27, 2003 5:38 pm
Location: TCI

Naming 2 different menus on same site

Post by Surfergirl »

I can't find this information :)

If I have 2 different menus, menu_data.js and menu_data1.js , do I have to make reference to it in any of the other 3 milonic files? (milonic_src.js, mmenuns4.js, mmenudom.js)

I haven't done it yet, getting ready to do it and do not want to skrew up, which is what I usually do. I'm scared to death of this stuff.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

No, you don't.

Ruth
Surfergirl
Super Advanced
Super Advanced
Posts: 77
Joined: Fri Jun 27, 2003 5:38 pm
Location: TCI

Post by Surfergirl »

thanks - may I please have 1 more question -

I'm trying to put the menu in a cell,
I added this onto the menu_data.js stuff ----- position="relative";


I have <script language=JavaScript src="menu_data.js" type=text/javascript></script> inside the cell.

The menu is not coming up inside the cell. What did I forget?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Naming 2 different menus on same site

Post by John »

Surfergirl wrote:I haven't done it yet, getting ready to do it and do not want to skrew up, which is what I usually do. I'm scared to death of this stuff.
Oh, come now. You've been with us long enough to know 1) it's not that hard, and 2) we're always here to help.

Ruth is correct - you do not have to reference the extra file in any of the 3 files you listed. However, don't forget to write a call for the additional menu file...!

Code: Select all

<script language="JavaScript" src="menu_data.js" type="text/javascript"></script>
<script language="JavaScript" src="menu_data1.js" type="text/javascript"></script>
John
Surfergirl
Super Advanced
Super Advanced
Posts: 77
Joined: Fri Jun 27, 2003 5:38 pm
Location: TCI

Post by Surfergirl »

Hi John
I took about 4 months off, it turned my hair gray.

I just figured my 2nd question out - I had the relative reference in the wrong area. I'm trying to upgrade an antique menu to the latest version

I know you are always there, you are super
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Surfergirl wrote:I took about 4 months off, it turned my hair gray.
Good, now you match the rest of us :!: :D
Surfergirl wrote:I just figured my 2nd question out - I had the relative reference in the wrong area. I'm trying to upgrade an antique menu to the latest version
Good for you (it's past my nap time, anyway!).

Note that RC45 is now out.
Surfergirl wrote:I know you are always there, you are super
Thank you! Most appreciated.

There are some other really good folks hanging out here, too (one of whom you bumped into in this thread).
John
Surfergirl
Super Advanced
Super Advanced
Posts: 77
Joined: Fri Jun 27, 2003 5:38 pm
Location: TCI

Post by Surfergirl »

Dont go to sleep yet...
Post Reply