Computing.Net > Forums > Web Development > javascript menu

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

javascript menu

Reply to Message Icon

Name: Jamie_McCoy
Date: April 17, 2005 at 04:50:35 Pacific
OS: XP Pro 5.1
CPU/Ram: Pentium 4 2.4Ghz
Comment:

on my site i have a javascript menu

but for some people, when they click on a link on the menu, nothin happens....

is their any settings i should play with when it comes to javascript menus...

roamhosting.net



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: April 17, 2005 at 11:25:00 Pacific
Reply:

Jamie,

It would be helpful if you proivided more information such as the URL and where the menu is located (I checked roamhosting.net and don't see any menu) or the code you are using. Without knowing how you implemented the menu, there's no way to provide any meaningful response. There are many, many reasons why the menu might not work. I could write several pages on possible causes without ever hitting on the one in your situation.

Michael J


0

Response Number 2
Name: Jamie_McCoy
Date: April 17, 2005 at 17:56:52 Pacific
Reply:

www.jaydiocity.co.uk

username = greg
password = greg

it works for most ppl, but a handful say no

roamhosting.net


0

Response Number 3
Name: Michael J (by mjdamato)
Date: April 17, 2005 at 21:47:41 Pacific
Reply:

OK, here is what I found.

Even though you try to "protect" your pages, I was able to find the code in my cache. I particularly liked the line in the parent frame that states "any illegal downloading will result in automatic ISP notification". That's pretty funny considering that once anyone visits your site, they have already downloaded the code!

Anyway, as soon as I looged in I noticed that there was a javascript error which stated: Line 851, Char 1, Object Expected. Since your code is in bits and pieces I don't know where line 851 is.

Another thing I noticed was that in your function create_objects you have two if statements: if (agent.ie) & if (agent.ns). I don't know where you are setting those two values, but do you have a default set in case the user is using a browser that is not detected? The site worked fine for me in Firefox, so I doubt that is the problem.

The first issue (the JS error) may be causing this. In some instances browsers will disregard any more code in the JS once an error has occured.

I couldn't find the script with the function that is called when a user clicks one of those links, so there might be a problem in there as well.

Michael J


0

Response Number 4
Name: Jamie_McCoy
Date: April 18, 2005 at 03:28:31 Pacific
Reply:

im not too hot on javascript.... that menu i created with a program... so i doubt it would contain any errors...

if the links dont work for someone, then it doesnt work in any browser installed on their machine...

i was thinkin towards their active X settings, or something along those lines...

roamhosting.net


0

Response Number 5
Name: Michael J (by mjdamato)
Date: April 18, 2005 at 12:20:56 Pacific
Reply:

Are you running an activeX module? Are those menus built using JavaScript?

Like I said I DID receive a JavaScript error. Because of how you have coded your pages I cannot tell if the error is caused in the menu script or elsewhere, but there is an error.

Michael J


0

Related Posts

See More



Response Number 6
Name: Jamie_McCoy
Date: April 18, 2005 at 20:18:00 Pacific
Reply:

email me using this form so i can get your email (commputin.net dfoesnt allow posting emails)

and i will show you the code i have, if you want...

http://www.jaydiocity.co.uk/site/email.htm

roamhosting.net


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: javascript menu

javascript menu www.computing.net/answers/webdevel/javascript-menu/1687.html

need help w/ javascript menu www.computing.net/answers/webdevel/need-help-w-javascript-menu/183.html

ASP.Net DropDown & Javascript www.computing.net/answers/webdevel/aspnet-dropdown-amp-javascript/354.html