JS Error

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
martin_j_n03
Beginner
Beginner
Posts: 4
Joined: Wed Jul 30, 2003 3:03 pm
Location: Lincoln, UK
Contact:

JS Error

Post by martin_j_n03 »

I get the error,

Line 81, Char 2, Error: Object doesn't support this property of method. Code 0 "

this happens even if i use the code examples i got, that work on the samples page, but when i upload to test i get the above mentioned error.

i'm probably doing something obviously stupid but cant work it out

http://www.batc.togetherhost.com/

:cry:

p.s. when i click the home link a few times to reload page it magicaly starts working

thnx
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

It's very hard to say - just one missed character can stop it working.


Can you give us a link to your data file so that we can examine it?
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
martin_j_n03
Beginner
Beginner
Posts: 4
Joined: Wed Jul 30, 2003 3:03 pm
Location: Lincoln, UK
Contact:

Post by martin_j_n03 »

User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Andy, just do a view source to see where his files are, then build the URL and go see. Easy.

Martin, got your code from dynamic drive? You are approx. 20+ levels down in the v3 code. Current is 3.5.15. Always get the code from here.

A better suggestion, especially since you posted to the v5 section of the Forum :roll: , would be to upgrade to the v5 code at http://milonic.com/v5_rc3/menu5.zip. You don't have a very big menu, so it won't take you long to make the easy changes. You might as well be where the development's at :!:
John
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

Everyone seems to be getting their code from DD and then coming here for assistance. I've lost count of the number of times you've told them John!

Is there any way that we can tell DD to use a newer release? It doesn't make their site look good when they are pushing something so old.
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
martin_j_n03
Beginner
Beginner
Posts: 4
Joined: Wed Jul 30, 2003 3:03 pm
Location: Lincoln, UK
Contact:

Post by martin_j_n03 »

:D
I didn't get it from dynamic drive, i got it from a dhtml menu site i can't remeber, i did actualy visit the main site for the code but it wasn't obvious i was out of date, but now i have the newest version and it works fine, thanks so much for your help.
:mrgreen:
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

Great stuff. Have you gone for V5? Look forward to seeing the site.
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
martin_j_n03
Beginner
Beginner
Posts: 4
Joined: Wed Jul 30, 2003 3:03 pm
Location: Lincoln, UK
Contact:

Post by martin_j_n03 »

yeah i got V5.

the server my sites at is just for testing the site before i uplad it.

the site is a redesign of http://www.birchwoodaccess.com wich i really don't like, don't know about you. its never updated and hard to navigate. hope you like the new version, if you don't i woulnd't mind knowing why.

http://www.batc.togetherhost.com

p.s. im actually quite impressed with togetherhost.com, great for a free host.[/b]
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

I prefer the new site. It has a much more modern and cleaner feel to it. I'd consider moving the menu bar to the middle and making it a bit larger.

Is the Birchwood you are at the one near Warrington? I'm just up the road in Tyldesley!
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

fredlongworthhighschool wrote:Everyone seems to be getting their code from DD and then coming here for assistance. I've lost count of the number of times you've told them John!
So have I, Andy! Think I'll write a macro to insert that for me...
fredlongworthhighschool wrote:Is there any way that we can tell DD to use a newer release? It doesn't make their site look good when they are pushing something so old.
Looks like that's up to the boss. From the DD site...
By submitting, you represent that you are the original creator of the script, and grant Dynamic Drive the full right to include and feature your script in our script archive and possibily through other sources affliated with Dynamic Drive.
Therefore that's not something I can do for him. Given his current workload on getting all the v5 stuff out I don't think we'll see an upgrade over there for a while.
John
Post Reply