Having problems with DHTML Menu? There is usually somebody here who knows the answer.
shong
Advanced
Posts: 24 Joined: Wed May 04, 2005 5:37 pm
Location: Bellevue, WA
Contact:
Post
by shong » Wed May 04, 2005 5:42 pm
I am trying to make the menu 508 compliant. I realize that I just need to add the keypress.js file. However I was wondering exactly where I need to add this? I was told to add it after the data file, so does that mean to include this file inside my asp file? Something like this:
<script type="text/javascript" src="menu_data.js"></script>
<script type="text/javascript" src="keypress.js"></script>
John
Team
Posts: 5967 Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:
Post
by John » Wed May 04, 2005 6:11 pm
The way you have it above is correct.
John
shong
Advanced
Posts: 24 Joined: Wed May 04, 2005 5:37 pm
Location: Bellevue, WA
Contact:
Post
by shong » Wed May 04, 2005 6:34 pm
Thanks. I am now seeing a JS error. Line 125 in the keypress.js file.
m_[...] is null or not an object. Here is the line of code that it is failing on:
Code: Select all
function KPcrawlChildren(_mn)
{
var _ar=_m[_mn][0]
Any ideas why this is happening?
John
Team
Posts: 5967 Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:
Post
by John » Wed May 04, 2005 7:13 pm
Are you running the latest version of the menu code (5.722) and keypress (1.3)?
John
shong
Advanced
Posts: 24 Joined: Wed May 04, 2005 5:37 pm
Location: Bellevue, WA
Contact:
Post
by shong » Wed May 04, 2005 7:25 pm
I am running 1.3 on the keypress.js file. I am using 5.69 for the menu code.
John
Team
Posts: 5967 Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:
Post
by John » Wed May 04, 2005 7:31 pm
That combo should work, although you should update to the latest version, as that is all we can support.
Got a URL we can see?
John
shong
Advanced
Posts: 24 Joined: Wed May 04, 2005 5:37 pm
Location: Bellevue, WA
Contact:
Post
by shong » Wed May 04, 2005 8:02 pm
The app is a intranet based app. So sorry, no url to send. However, I can send you the files that I have if you give me your email address.
John
Team
Posts: 5967 Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:
Post
by John » Wed May 04, 2005 8:28 pm
You can post them right here (not the menu code, of course!). Give us the full HTML and the _data file. Please don't forget to use the [code][/code] tags when posting.
We do it this way rather than email in case one of us gets hung up somebody else can carry on.
John
shong
Advanced
Posts: 24 Joined: Wed May 04, 2005 5:37 pm
Location: Bellevue, WA
Contact:
Post
by shong » Wed May 04, 2005 8:33 pm
Here is the html for the menu: