Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:18
Editing the Menu.js file in Microsoft FrontPage
Poster: Sindizel
Dated: Thursday August 21 2003 - 16:22:11 BST
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.
Poster: John
Dated: Thursday August 21 2003 - 16:48:51 BST
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.
Poster: Hergio
Dated: Thursday August 21 2003 - 16:49:29 BST
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.
Poster: Hergio
Dated: Thursday August 21 2003 - 16:56:06 BST
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 . Thats just too funny.
Poster: John
Dated: Thursday August 21 2003 - 16:59:42 BST
On the very next post you beat me by one minute, so we're even
Poster: fredlongworthhighschool
Dated: Tuesday August 26 2003 - 8:53:02 BST
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