Solved

Js query problem

Posted on 2013-12-06
6
210 Views
Last Modified: 2013-12-09
i have a problem  using js script on my page...  

page link    http://design.jnj.net.in/csi/



  <script>
    // You can also use "$(window).load(function() {"
    $(function () {

      // Slideshow 1
      $("#slider1").responsiveSlides({
        maxwidth: 1500,
        speed: 800
      });

      // Slideshow 2
      $("#slider2").responsiveSlides({
        auto: false,
        pager: true,
        speed: 300,
        maxwidth: 1500
      });

      // Slideshow 3
      $("#slider3").responsiveSlides({
        manualControls: '#slider3-pager',
        maxwidth: 1500
      });

      // Slideshow 4
      $("#slider4").responsiveSlides({
        auto: false,
        pager: false,
        nav: true,
        speed: 500,
        namespace: "callbacks",
        before: function () {
          $('.events').append("<li>before event fired.</li>");
        },
        after: function () {
          $('.events').append("<li>after event fired.</li>");
        }
      });

    });
      
      
      
      
      
      
  </script>
0
Comment
Question by:jnj_web_solutions
  • 4
  • 2
6 Comments
 
LVL 43

Expert Comment

by:Chris Stanyon
ID: 39700571
It's because you're loading 2 versions of the jQuery library - 1.8.3 in the HEAD, and then 1.3.1 towards the bottom of your document (near the testimonials code)
0
 

Author Comment

by:jnj_web_solutions
ID: 39700616
ok, what solution for that.. i need help to rectified the problem.
or give  some tip to solve the problems.
0
 
LVL 43

Expert Comment

by:Chris Stanyon
ID: 39700622
Remove the second version
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:jnj_web_solutions
ID: 39702657
ok. give some similar script for that replacing.
0
 
LVL 43

Accepted Solution

by:
Chris Stanyon earned 500 total points
ID: 39702830
What!

You're loading 2 versions of the jQuery library. You only need to load 1. You don't need to replace anything - you just need to remove the second version of the library...
0
 
LVL 43

Expert Comment

by:Chris Stanyon
ID: 39705552
You really need to read up on how to grade answers here on EE - The answer I gave you was exactly what you needed, and yet you only gave a  B grade!!

B is the grade given for acceptable solutions, or a link to an acceptable solution. A B grade means the solution given lacked some information or required you to do a good amount of extra work to resolve the problem. When closing the question, the asker should explain why a B grade was awarded.

Before asking any more question, please have a proper read through this:

http://support.experts-exchange.com/customer/portal/articles/481419
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
The viewer will learn how to dynamically set the form action using jQuery.
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 …

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now