2014-10-18 43 views
1

我執行的所有步驟將嵌入到易趣上市它不工作,因爲本教程說:試圖嵌入Jssor滑塊到易趣上市,但

http://www.jssor.com/development/embed-jssor-slider-into-blogger-post.html

但它並不適用於工作我。

這是結果:

<!DOCTYPE html> 
<html> 
<head> 
<meta charset="utf-8"> 
<title>Simple Slider Example - Jssor Slider, Slideshow</title> 
</head> 
<body style="font-family:Arial, Verdana;background-color:#fff;"> 
<script type="text/javascript" src="../js/jssor.js"></script> 
<script type="text/javascript" src="../js/jssor.slider.js"></script> 
<script> 
jssor_slider1_starter = function (containerId) { 
      var options = { 
       $AutoPlay: true,         //[Optional] Whether to auto play, to enable slideshow, this option must be set to true, default value is false 
       $DragOrientation: 3        //[Optional] Orientation to drag slide, 0 no drag, 1 horizental, 2 vertical, 3 either, default value is 1 (Note that the $DragOrientation should be the same as $PlayOrientation when $DisplayPieces is greater than 1, or parking position is not 0) 
      }; 

      var jssor_slider1 = new $JssorSlider$(containerId, options); 
     }; 
</script> 
<div id="slider1_container" style="position:relative;top:0px;left:0px;width:600px;height:300px;"> 
<div u="slides" style="cursor:move;position:absolute;left:0px;top:0px;width:600px;height:300px;overflow:hidden;"> 
<div><img u="image" src="http://www.imageshost.eu/images/2014/10/17/P3181790.jpg"></div> 
<div><img u="image" src="http://www.imageshost.eu/images/2014/10/17/P3181798.jpg"></div> 
<div><img u="image" src="http://www.imageshost.eu/images/2014/10/17/P3181797.jpg"></div> 
<div><img u="image" src="http://www.imageshost.eu/images/2014/10/17/P3181796.jpg"></div> 
<div><img u="image" src="http://www.imageshost.eu/images/2014/10/17/P3181795.jpg"></div> 
<div><img u="image" src="http://www.imageshost.eu/images/2014/10/17/P3181794.jpg"></div> 
<div><img u="image" src="http://www.imageshost.eu/images/2014/10/17/P3181793.jpg"></div> 
<div><img u="image" src="http://www.imageshost.eu/images/2014/10/17/p3181792.jpg"></div> 
</div> 
<a style="display:none" href="http://www.jssor.com">jquery slider plugin</a> 
<script> 
jssor_slider1_starter('slider1_container'); 
</script> 
</div> 
</body> 
</html> 

你能告訴我什麼是錯的?

非常感謝!

回答

0

再走一步。

請用jssor.compress.exe壓縮你的頁面。

"Jssor.Compress.exe" -HTML:Js -HTML:Css -HTML:Comment -HTML:Blank -JSSORONLY -AWRAP -OVERWRITE -ENCOUT:UTF-8 "your-slider.source.html" -OUT "your-slider.html" 

另請參見'demos-no-jquery * .compress.bat'。

參考:http://www.jssor.com/development/embed-jssor-slider-into-ebay-listing.html

+0

我做到了,that's壓縮的結果,它和它doesn't工作... – pikki1 2014-10-18 09:45:25

+0

我終於did.Thanks很多關於您的幫助! – pikki1 2014-10-18 10:06:22

+0

我剛解決了這個問題。 – jssor 2014-10-18 13:11:04