Editing the Menu.js file in Microsoft FrontPage

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Sindizel
Beginner
Beginner
Posts: 1
Joined: Thu Aug 21, 2003 4:18 pm
Contact:

Editing the Menu.js file in Microsoft FrontPage

Post by Sindizel »

Hi, I work for the Rutgers University Institute on Ethnicity, Culture, and the Modern Experience. We have a website that has a mmenu.js file and a menu_array.js file, I'm trying to open these files within Microsoft FrontPage to fix some of the broken links within the menu. When I try to open either of the two files I get an error message on both either "document is undefined" or "Object was expected". Can anyone help, I would really appreciate it. Thanks.
"I don't believe in luck, just God, so instead of wishing me Good Luck, I'll settle for Good God"
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

My first thought has to be stay away from FrontPage :!: Personal opinion, not that of Milonic. It has a habit of doing very nasty things to your code behind your back, and we have a number of folks here on the Forum who have had the experience.

As for the .js files, they are just straight text, so any plain text editor will work (not Word, etc., but even something like Notepad will do).

Addendum: Dave is right - Dreamweaver MX is really the only editor to use for just about anything - text, ColdFusion, ASP, HTML, XHTML, XML, etc., etc.
Last edited by John on Thu Aug 21, 2003 5:03 pm, edited 1 time in total.
John
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Not sure, since I dont use frontpage, but I would recommend not using Frontpage to edit it. I have known Frontpage to change things on me without knowing, I hate programs that mess around and touch things they're not supposed to. For now, try using notepad or something like that, you can still edit your js files just fine. But my editor of choice is dreamweaver. ;)
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Look at that John :!: Nearly identical posts within seconds of eachother...thats weird. If I see you floating around a forum, I'll wait until you're finished, hehe :lol: . Thats just too funny.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

On the very next post you beat me by one minute, so we're even :!: :lol:
John
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

I don't think Frontpage has the capabilities to execute the code while it is still being edited.

Notepad is your best bet but there are more advanced text editors around. I've heard good things said about Textpad http://www.textpad.com
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
Post Reply