?
Solved

Multiple javascript elements won't play nice.

Posted on 2012-03-21
4
Medium Priority
?
310 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 84

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 84

Accepted Solution

by:
Dave Baldwin earned 1000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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 …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

719 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