Solved

Js query problem

Posted on 2013-12-06
6
208 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 42

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 42

Expert Comment

by:Chris Stanyon
ID: 39700622
Remove the second version
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

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

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 42

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article will show, step by step, how to integrate R code into a R Sweave document
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

707 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

20 Experts available now in Live!

Get 1:1 Help Now