Solved

Js query problem

Posted on 2013-12-06
6
234 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
[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
  • 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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

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 …
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

636 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