Question

Asked on 2011-05-09 at 06:50:43ID: 27360738

clashing Javascripts cancel each other out

by: dzash2000500

Rating8.6Very Good

Hi -

I have two pages using the same script.  The second page has an additional javascript function as well.  On the second page - the scripts seem to cancel each other out.  I can have one or the other work but not both.

Please refer to this page first:

[url="http://www.newpixelcity.com/LU/index.html"]http://www.newpixelcity.com/LU/index.html[/url]

Here you will see that I'm using the very excellent jkmegamenu to add additional items under the Company and Services link and you should see them if you rollover those words in the main top navigation.


Now please look at this page (the "Senior Staff" page under "Company"):
[url="http://www.newpixelcity.com/LU/executive_profiles.html"]http://www.newpixelcity.com/LU/executive_profiles.html[/url]

This page also has the megamenu but at this moment that won't work.  I believe it's because I'm also using a jquery function to hide and reveal divs.

I think the two javascripts are colliding for some reason and one is "cancelling" the other.

Is there a Javascript expert who can help me debug this?

Thanks in advance.
d2

Related Solutions

Solution

Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.

About this Solution

View This Solution - Start Your 30 Day Free Trial
Zone
general
Tags
javascript jquery css mega-menus
Participating Experts
3
Solution Grade
A

Replies

 by: cmalakar

Posted on 2011-05-09 at 07:06:45ID: 36812476

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: askurat1

Posted on 2011-05-09 at 07:11:26ID: 36812477

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: mplungjan

Posted on 2011-05-09 at 07:19:30ID: 36812478

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: dzash2000

Posted on 2011-05-09 at 07:21:41ID: 36812479

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: mplungjan

Posted on 2011-05-09 at 07:23:44ID: 36812480

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: mplungjan

Posted on 2011-05-09 at 07:25:11ID: 36812481

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: dzash2000

Posted on 2011-05-09 at 07:52:56ID: 36812482

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: cmalakar

Posted on 2011-05-09 at 07:57:43ID: 36812483

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: dzash2000

Posted on 2011-05-09 at 08:19:24ID: 36812484

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: mplungjan

Posted on 2011-05-09 at 08:46:47ID: 36812485

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: mplungjan

Posted on 2011-05-09 at 09:08:49ID: 36812486

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: dzash2000

Posted on 2011-05-09 at 10:12:31ID: 36812487

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: mplungjan

Posted on 2011-05-09 at 10:23:59ID: 36812488

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

Log In

Forgot your password?Sign up

Top Experts

  1. mplungjan

    1,840

    0 points yesterday

    Profile

BrowseAre you an Expert?