Click here to Skip to main content
15,907,225 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi ,

i have using nivo slider like below code



XML
<div id="wrapper">
                               <div id="slider-wrapper">

                                  <div id="slider" class="nivoSlider">
                                      <img src="images/slide1.jpg" alt="" title="This is an example of a caption 1"  />
                                      <img src="images/slide2.jpg" alt="" title="This is an example of a caption 2" />
                                      <img src="images/slide3.jpg" alt="" title="This is an example of a caption 3"  />
                                      <img src="images/slide4.jpg" alt="" title="This is an example of a caption 4" />
                                  </div>
                      <script type="text/javascript" src="../js/jquery.nivo.slider.pack.js"></script>
                      <script type="text/javascript">
                       $(window).load(function() {
                       $('#slider').nivoSlider();
                       });
                      </script>
                              </div>



its works fine in local but when i host in server its not working .
Posted
Comments
Sergey Alexandrovich Kryukov 7-Oct-13 16:51pm    
What could it possibly mean "jQuery... not working in server"? jQuery is a JavaScript library designed to work on client side only.
—SA

1 solution

It has nothing to do with server. Please see my comment to the question. Just Check up if the jQuert file is available on server and located according to your script element. You can check it up very simply: load the page in a browser and use the browser's "View page source" to see what exactly did you get.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900