Solved

Js query problem

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

808 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