Solved

Js query problem

Posted on 2013-12-06
6
214 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
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.

 

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

Suggested Solutions

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…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

770 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