Solved

Multiple javascript elements won't play nice.

Posted on 2012-03-21
4
307 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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 position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

628 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