2013-09-27 3 views
0

로컬 디렉토리 (컴퓨터)에있을 때 슬라이드가 정상적으로 작동하지만 호스트에 업로드하면 슬라이드가 첫 번째 이미지로 표시됩니다. 나는 무엇이 잘못되었는지 알 수 없다. 티아!내 jquery 사이클이 작동하지 않습니다.

  <script type="text/javascript" src="http://skywriterwebservices.com/bellaroma/plugins/jquery.js"></script> 
       <script type="text/javascript" src="http://skywriterwebservices.com/bellaroma/plugins/cycle-plugin.js"></script> 
       <script type="text/javascript"> 
       $(document).ready(function(){ 

       $('#fade').cycle(); 
       }); 

      </script> 



      <div id="featured" align="center"> 
        <div id="fade"> 
        <img src="img/slide1.jpg" width="800" height="230"> 
        <img src="img/Slide2.jpg" width="800" height="230"> 
        <img src="img/Slide3.jpg" width="800" height="230"> 
      </div> 

이제 이미지 경로를 로컬로 변경했습니다.이 사이트에서 이미지를 게시 할 수있게되었습니다. 어쨌든. 도와 주셔서 감사합니다!

답변

0

재현 할 수 없기 때문에 전체적인 문제에 대한 명확한 이미지가 없지만 호스팅 서버에서 Linux가 실행되고 파일 이름이 대소 문자를 구분하기 때문에 문제가 발생할 수 있습니다. 파일 이름은 소문자 로 시작하는 경우 IMG/slide2.jpgIMG/slide3.jpg에 두 번째와 세 번째 이미지 파일의 URL을 변경

보십시오.

관련 문제