Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Two conflicting Javascripts

Reply
Thread Tools

Two conflicting Javascripts

 
 
Gareth
Guest
Posts: n/a
 
      11-17-2003
I have two cascading menus i want to run on my web page, i can make
one work fine, however when i add the other menu both do not work. I
presume this is beacuse the menus do not no which script to call? Is
there a way i can make menu1 link to javascript1 and menu2 link to
javascript2?

Any suggestions would be greatly appriciated, Regards Gareth
 
Reply With Quote
 
 
 
 
Evertjan.
Guest
Posts: n/a
 
      11-17-2003
Gareth wrote on 17 nov 2003 in comp.lang.javascript:

> I have two cascading menus i want to run on my web page, i can make
> one work fine, however when i add the other menu both do not work. I
> presume this is beacuse the menus do not no which script to call? Is
> there a way i can make menu1 link to javascript1 and menu2 link to
> javascript2?
>


I suspect that you use global variables with the same name and/or functions
with the same name. Change them!

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascripts retrieved via WebResource.axd nick@codefresh.com ASP .Net 0 01-20-2006 09:16 AM
Using JavaScripts in ASP.NET, please help... =?Utf-8?B?VGlnZ2Vy?= ASP .Net 7 01-12-2005 10:20 PM
I have these two short conflicting scripts -- help! Julia Briggs Javascript 1 12-15-2003 08:23 PM
Re: controleprogrammasHTML-Javascripts Nico Schuyt HTML 2 07-27-2003 04:21 PM
Re: Including javascripts in HTML - it appears as the script never loads Bob Walton Perl 0 07-19-2003 02:30 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57