dpowe
Apr 3 2005, 01:39 AM
I initially had a menu up and working. I had to make some minor changes to it, ie spelling, grammar, stupid non-code stuff. Now, I get the following error:
Error: missing ; before statement
Source File: http://www.birthinggently.com/menus/iemenu.js
Line: 1, Column: 202
Source Code:
dmbtbF[t].visibility=='visible'){dmbtbF[t].top=parseInt(dmbtbF[t].top)-parseInt(dmbtbB[t].height);dmbtbB[t].top=parseInt(dmbtbB[t].top)-parseInt(dmbtbB[t].height);imgObj.width=parseInt(dmbtbB[t].width) imgObj.height=parseInt(dmbtbB[t].height)}}}if(NS||SM|
I have tried creating new menus. I've tried going through each individual page and removing loader code, and then re-installing the menu's. Nothing is working. I need help fast!
David Powe
President, Birthing Gently
http://www.birthinggently.com/menus/iemenu.js
JohnM
Apr 3 2005, 05:53 AM
Attach a copy of your project file so we can look at that
JohnM
dpowe
Apr 3 2005, 09:38 AM
here you go. Thanks again for your help.... I feel so :p silly. I should know how to fix this.
dpowe
Apr 3 2005, 09:42 AM
Sorry, thats the older one. This project is the corrected version.
JohnM
Apr 3 2005, 12:00 PM
Well I can't see anthing wrong with the menu. I set up an index page under a site called "Birthday" Loaded the code and it works fine. See:
Birthday
I am attaching the js files for you to look at. Youwill see the loader code by viewing the URL as "View source"
Have you any other javascript on ypour site that could be causing a conflict. Also what version of the menu are you using?
JohnM
dpowe
Apr 3 2005, 12:04 PM
Iam using 4.9.013
I have other scripts on the pages, but like I said, it all worked last week, I haven't made changes to the other scripts.
JohnM
Apr 3 2005, 01:34 PM
I may be on the wrong tack here but I have compared your loader code with mine and they appear to be distincly different. I am using version 4.9.015. I'm not sure if this would make a difference. I can't see a menu at all on http://www.birthinggently.com/ Is there where I should see it? I'm getting a bit lost. Is it worth a.) Uploading the latest version (Can't do any harm anyway) or b.) substituting my code for yours on your site. Try just one page perhaps.
JohnM
dpowe
Apr 3 2005, 02:07 PM
Ok, updated the program, menu is working, but one issue, my jpg is missing from the page, no biggie, I can fix that. But I have a question. If I need to make a change to the menu, be a property, spelling, grammar, or some other issue, how do I change it?
Do I make the change->remove loader code->compile->insert loader code-> upload to server?
JohnM
Apr 3 2005, 02:42 PM
No you can change the menu within its structure by adding a group or deleting, changing links, colors, sizes or whatever, then recompile (Save you file, of course and just upload the new iemenu. js and nsmenu.js to your menu folder on your server and that will work on all the pages that you have loaded the original loader code to. in other words, once you have successfully loaded the loader code once, that's it. You will, of course, need to load it to any new pages you add to your site. Your JPEG is missing from the site either because you have n't loaded it to the right folder on the server on the src points to the wrong source. Can help with this if you need it
JohnM
dpowe
Apr 3 2005, 03:46 PM
The jpg issue occured with the last version of the menu builder that I was using too. I would select "keep object's size synchronized" and the jpg would dissappear... but unselect, and wah lah, jpg is there. No worries though. Everything worked out.
Thank you very very much for your help. If I have any more issues, which I'm sure I will, I'll be in contact :blues:
David Powe
President, Birthing Gently
http://www.birthinggently.com
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.