Solved

Multiple javascript elements won't play nice.

Posted on 2012-03-21
4
304 Views
Last Modified: 2012-04-03
I have a website that I am trying to use multiple javascript elements on the same page. For some reason it only likes one or the other.

Here is the page that needs the two elements: Http://www.bdcwebdesign.com/ The element that isn't working is below the slide show.

Here is a page were the element is working: http://www.bdcwebdesign.com/?a=Colorado-Wyoming_Portfolio

Any ideas?
0
Comment
Question by:BDC-Net
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 37749773
The Firefox Error Console (Ctl-Shift-J) is showing quite a few undefined or 'null' elements.  But something keeps repeating and making the warning and errors go by too quickly to examine them.  I would temporarily take out the Google Analytics code and any similar code so you can troubleshoot the page.
0
 
LVL 2

Author Comment

by:BDC-Net
ID: 37749820
All non-related code has been disabled.
0
 
LVL 2

Author Comment

by:BDC-Net
ID: 37750076
If I comment out js/compressed.js the carousel works, but it obviously breaks the slide show.
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 37750133
I notice that "js/script.js" loads a bunch of other javascripts also.  Unless you can find the conflicting variables, you wont' be able to use them both on the same page.  That's a lot to go through.

Click on "Request Attention" and get some others to look at your question.  Maybe they've seen this problem before.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question