Making Menu 508 Compliant

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
shong
Advanced
Advanced
Posts: 24
Joined: Wed May 04, 2005 5:37 pm
Location: Bellevue, WA
Contact:

Making Menu 508 Compliant

Post by shong »

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>
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

The way you have it above is correct.
John
shong
Advanced
Advanced
Posts: 24
Joined: Wed May 04, 2005 5:37 pm
Location: Bellevue, WA
Contact:

Post by shong »

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?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Are you running the latest version of the menu code (5.722) and keypress (1.3)?
John
shong
Advanced
Advanced
Posts: 24
Joined: Wed May 04, 2005 5:37 pm
Location: Bellevue, WA
Contact:

Post by shong »

I am running 1.3 on the keypress.js file. I am using 5.69 for the menu code.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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
Advanced
Posts: 24
Joined: Wed May 04, 2005 5:37 pm
Location: Bellevue, WA
Contact:

Post by shong »

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.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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
Advanced
Posts: 24
Joined: Wed May 04, 2005 5:37 pm
Location: Bellevue, WA
Contact:

Post by shong »

Here is the html for the menu:
Post Reply