| Author |
Message |
Bukk
Joined: 12 Feb 2003 Posts: 4
|
Posted: Wed Jun 11, 2003 12:20 am Post subject: Weird. Menu shows in Mac OS X Safari, but not... |
|
|
...anything else.
I have a page at: http://www.martus.org/index_2003.shtml
I built a menu and happened to be previewing the results in Safari. All was well. Looked good. Pretty simple menu, really. Then I went to IE, Mozilla, both Mac and Windows, and the menu doesn't show.
Aiiieeeeee!
I'm gonna guess I'm missing a comma somewhere, but is this common? What should I look for in my menu definition?
(Except it just showed up in Mac Mozilla 1.4b, but still nothing else!)
EDIT: Wrong, NOT showing up in Mozilla. I wasn't paying attention to what browser I was in! |
|
| Back to top |
|
 |
Sergey Nosenko Developer
Joined: 19 Jan 2003 Posts: 75
|
Posted: Wed Jun 11, 2003 7:01 am Post subject: |
|
|
Look at the line 46 of your menu_items.js file. You use TOP_BOTTOM style but variable TOP_BOTTOM is not defined anywhere.
It looks like Safari ignore this error but IE, Mozilla and Opera can't continue with it.
In Windows good paractics is check menu_items.js useing WSH.
Just type "cscript menui_tems.js" in command prompt and you will see error if it is in code. |
|
| Back to top |
|
 |
Bukk
Joined: 12 Feb 2003 Posts: 4
|
Posted: Wed Jun 11, 2003 12:50 pm Post subject: |
|
|
Here I was, probably happily typing along and just typed TOP_BOTTOM even though I knew it was TOP_MIDDLE that I was using.
I can't tell you how many times I looked at the code without catching it. And, as you saw, it wasn't a complicated menu by any means. I just couldn't see the problem.
Thanks for catching that, and thanks for the tip about WSH -- I will remember that! |
|
| Back to top |
|
 |
|