PDA

View Full Version : Omni Slide Menu



dhmakhecha
12-11-2009, 08:42 AM
hi i want to use this omni slide menu in my project which is developed in
asp.net 2008,c# with the master page concept.

it is working fine without master page but when i add those .js file in
master page, the page displays with javascript error i.e. 'menu' is undefined
anyone knows how to resolve it ????

CCH
12-11-2009, 08:50 AM
Without seeing the script myself, I'd have to assume "menu" needs to be replaced with a reference to the actual menu object or the expected value. When the script is run, menu is assumed to be a variable and currently there is no value stored in that variable. Somewhere earlier in the script a value should have been assigned, so the actual error may be somewhere else in the script.

Would you mind giving the full error message (including line/character number of the error and filename of where the error occured)
Often the format will be something like:
Message: 'menu' is undefined
Line: 1
Char: 1
Code: 0
URI: script.js

dhmakhecha
12-11-2009, 09:00 AM
Line : 13
Char : 1
Error : 'menu' is undefined
code : 0
URL : http:\\localhost\rms\resources.aspx

CCH
12-11-2009, 09:02 AM
without being able to see the file myself, I don't think I can help here... maybe someone more familiar with that script...

jscheuer1
12-11-2009, 09:21 AM
Please post a link to the page on your site that contains the problematic code so we can check it out.