'Dropping in' new JS files
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact:
'Dropping in' new JS files
Noticing I was using RC9, I decided to upgrade my JS files to RC12.
With earlier versions I just dropped the new JS files into my web folder, but it isn't working with RC12 - I can't see the menu. I haven't changed any file names from the norm:
milonic_src.js
mmenudom.js
mmenuns4.js
Do I need to make any other changes?
With earlier versions I just dropped the new JS files into my web folder, but it isn't working with RC12 - I can't see the menu. I haven't changed any file names from the norm:
milonic_src.js
mmenudom.js
mmenuns4.js
Do I need to make any other changes?
Andy Davis
Web Designer & Smartboard Manager
Fred Longworth High School, Manchester, England.
Web Designer & Smartboard Manager
Fred Longworth High School, Manchester, England.
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact:
Never used scriptpath. Remmed out with // in my current site. It's actually RC6 so there have been quite a lot of changes I guess.
Got an open evening at the school tonight so I'm doing about six jobs at once!
Got an open evening at the school tonight so I'm doing about six jobs at once!
Andy Davis
Web Designer & Smartboard Manager
Fred Longworth High School, Manchester, England.
Web Designer & Smartboard Manager
Fred Longworth High School, Manchester, England.
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact:
Fixed it. In my data file, the last line was
but it's now
Code: Select all
for(_a=_mnucnt;_a<_m.length;_a++){_drawMenu(_a)}
Code: Select all
drawMenus();
Andy Davis
Web Designer & Smartboard Manager
Fred Longworth High School, Manchester, England.
Web Designer & Smartboard Manager
Fred Longworth High School, Manchester, England.
I would still recommend upgarding your milonic_src and mmenudom files. Even though you weren't using the scriptpath, your milonic_src file still actually looks for it in RC6. The new releases don't even look for it and plus there have been some changes to it. Just my two cents.
Dave Hergert
Software Engineer
"Helping to make the menu better, one at a time."
Software Engineer
"Helping to make the menu better, one at a time."
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact:
We don't post every little fix to each RC since there are a bunch of things changing. It wouldnt be worth the time. Essentially, you shouldnt ever have to change around your menu_data file with each RC upgrade...just replace the code-behinds (milonic_src and the other two). Keeping up to date will ensure you are getting the most up to date fixes...its up to you if you want to wait until the final 5.0 or maybe keep a copy of each RC to see if things change you can revert back.
Dave Hergert
Software Engineer
"Helping to make the menu better, one at a time."
Software Engineer
"Helping to make the menu better, one at a time."
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact: