0


Adding a slide show to your posts is quite simple copy this code to your posts HTML where ever you want to locate the slide show 







1:    <script src="https://allinonepaksliderproject.googlecode.com/svn/trunk/jquery-1.9.1.min.js" type="text/javascript"></script>  
2:    <!-- use jssor.slider.mini.js (39KB) or jssor.sliderc.mini.js (31KB, with caption, no slideshow) or jssor.sliders.mini.js (26KB, no caption, no slideshow) instead for release -->  
3:    <!-- jssor.slider.mini.js = jssor.sliderc.mini.js = jssor.sliders.mini.js = (jssor.core.js + jssor.utils.js + jssor.slider.js) -->  
4:    <script src="https://allinonepaksliderproject.googlecode.com/svn/trunk/jssor.core.js" type="text/javascript"></script>  
5:    <script src="https://allinonepaksliderproject.googlecode.com/svn/trunk/jssor.utils.js" type="text/javascript"></script>  
6:    <script src="https://allinonepaksliderproject.googlecode.com/svn/trunk/jssor.slider.js" type="text/javascript"></script>  
7:    <script>  
8:      jQuery(document).ready(function ($) {  
9:        var options = {  
10:          $AutoPlay: true,                  //[Optional] Whether to auto play, to enable slideshow, this option must be set to true, default value is false  
11:          $AutoPlaySteps: 4,                 //[Optional] Steps to go for each navigation request (this options applys only when slideshow disabled), the default value is 1  
12:          $AutoPlayInterval: 4000,              //[Optional] Interval (in milliseconds) to go for next slide since the previous stopped if the slider is auto playing, default value is 3000  
13:          $PauseOnHover: 1,                //[Optional] Whether to pause when mouse over if a slider is auto playing, 0 no pause, 1 pause for desktop, 2 pause for touch device, 3 pause for desktop and touch device, 4 freeze for desktop, 8 freeze for touch device, 12 freeze for desktop and touch device, default value is 1  
14:          $ArrowKeyNavigation: true,         //[Optional] Allows keyboard (arrow key) navigation or not, default value is false  
15:          $SlideDuration: 160,                //[Optional] Specifies default duration (swipe) for slide in milliseconds, default value is 500  
16:          $MinDragOffsetToSlide: 20,             //[Optional] Minimum drag offset to trigger slide , default value is 20  
17:          $SlideWidth: 200,                  //[Optional] Width of every slide in pixels, default value is width of 'slides' container  
18:          //$SlideHeight: 150,                //[Optional] Height of every slide in pixels, default value is height of 'slides' container  
19:          $SlideSpacing: 3,           //[Optional] Space between each slide in pixels, default value is 0  
20:          $DisplayPieces: 3,                 //[Optional] Number of pieces to display (the slideshow would be disabled if the value is set to greater than 1), the default value is 1  
21:          $ParkingPosition: 0,               //[Optional] The offset position to park slide (this options applys only when slideshow disabled), default value is 0.  
22:          $UISearchMode: 1,                  //[Optional] The way (0 parellel, 1 recursive, default value is 1) to search UI components (slides container, loading screen, navigator container, arrow navigator container, thumbnail navigator container etc).  
23:          $PlayOrientation: 1,                //[Optional] Orientation to play slide (for auto play, navigation), 1 horizental, 2 vertical, 5 horizental reverse, 6 vertical reverse, default value is 1  
24:          $DragOrientation: 1,                //[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)  
25:          $BulletNavigatorOptions: {                //[Optional] Options to specify and enable navigator or not  
26:            $Class: $JssorBulletNavigator$,            //[Required] Class to create navigator instance  
27:            $ChanceToShow: 2,                //[Required] 0 Never, 1 Mouse Over, 2 Always  
28:            $AutoCenter: 0,                 //[Optional] Auto center navigator in parent container, 0 None, 1 Horizontal, 2 Vertical, 3 Both, default value is 0  
29:            $Steps: 1,                   //[Optional] Steps to go for each navigation request, default value is 1  
30:            $Lanes: 1,                   //[Optional] Specify lanes to arrange items, default value is 1  
31:            $SpacingX: 0,                  //[Optional] Horizontal space between each item in pixel, default value is 0  
32:            $SpacingY: 0,                  //[Optional] Vertical space between each item in pixel, default value is 0  
33:            $Orientation: 1                 //[Optional] The orientation of the navigator, 1 horizontal, 2 vertical, default value is 1  
34:          },  
35:          $ArrowNavigatorOptions: {  
36:            $Class: $JssorArrowNavigator$,       //[Requried] Class to create arrow navigator instance  
37:            $ChanceToShow: 1,                //[Required] 0 Never, 1 Mouse Over, 2 Always  
38:            $AutoCenter: 2,                 //[Optional] Auto center navigator in parent container, 0 None, 1 Horizontal, 2 Vertical, 3 Both, default value is 0  
39:            $Steps: 3                    //[Optional] Steps to go for each navigation request, default value is 1  
40:          }  
41:        };  
42:        var jssor_slider1 = new $JssorSlider$("slider1_container", options);  
43:        //responsive code begin  
44:        //you can remove responsive code if you don't want the slider scales while window resizes  
45:        function ScaleSlider() {  
46:          var bodyWidth = document.body.clientWidth;  
47:          if (bodyWidth)  
48:            jssor_slider1.$SetScaleWidth(Math.min(bodyWidth, 809));  
49:          else  
50:            window.setTimeout(ScaleSlider, 30);  
51:        }  
52:        ScaleSlider();  
53:        if (!navigator.userAgent.match(/(iPhone|iPod|iPad|BlackBerry|IEMobile)/)) {  
54:          $(window).bind('resize', ScaleSlider);  
55:        }  
56:        //if (navigator.userAgent.match(/(iPhone|iPod|iPad)/)) {  
57:        //  $(window).bind("orientationchange", ScaleSlider);  
58:        //}  
59:        //responsive code end  
60:      });  
61:    </script>  
62:    <!-- Jssor Slider Begin -->  
63:    <!-- You can move inline styles to css file or css block. -->  
64:    <br />  
65:  <div id="slider1_container" style="height: 400px; left: 50px; overflow: hidden; position: relative; top: 0px; width: 1000px;">  
66:  <!-- Loading Screen -->  
67:      <br />  
68:  <div style="left: 0px; position: absolute; top: 0px;" u="loading">  
69:  <div style="background-color: black; display: block; filter: alpha(opacity=70); height: 100%; left: 0px; opacity: 0.7; position: absolute; top: 0px; width: 100%;">  
70:  </div>  
71:  <div style="background: url(../img/loading.gif) no-repeat center center; display: block; height: 100%; left: 0px; position: absolute; top: 0px; width: 100%;">  
72:  </div>  
73:  </div>  
74:  <!-- Slides Container -->  
75:      <br />  
76:  <div style="cursor: move; height: 370px; left: 0px; overflow: hidden; position: absolute; top: 0px; width: 900px;" u="slides">  
77:  <div>  
78:  <img src="https://lh6.ggpht.com/iPNrxEPKEpOyoKi0_vFT4BOJYEiAOUVBo4ZSs1Cq5iXlDld6m31SuBbfb6sQP0MtkQ=h310-rw" u="image" /></div>  
79:  <div>  
80:  <img src="https://lh6.ggpht.com/-kQPOJrx5z7U39st1pUiDYNZFgQ3RmM2o5zHInWNYG6rwK9-ANFkGmmQ956TO3ZnzfY=h310-rw" u="image" /></div>  
81:  <div>  
82:  <img src="https://lh6.ggpht.com/hPH9hLp4sbnz28Ij4Y769LdTiZJtCCRvWpOO4pUgQSlj4w6T6MNFlYzv3gSg0lzw324=h310-rw" u="image" /></div>  
83:  <div>  
84:  <img src="https://lh6.ggpht.com/i28oVfMz9YTY4aADXmEpgHudBqKLNZzaYpG6GzgNO_9t_gP4CybnpUX7_7lGfgOMITlO=h310-rw" u="image" /></div>  
85:  <div>  
86:  <img src="https://lh4.ggpht.com/isAV5E895h4d5l_pvbBF1RNpoEuQa-yR4XZFvaEa2MJoh46kOGWkfm7si0sg-hOIr46S=h310-rw" u="image" /></div>  
87:  <div>  
88:  <img src="https://lh6.ggpht.com/MaWImBJB-bt9HW61I2iWzmMy9L5xCZ6uQtuvi-mZyZ4BthPncBGBOqidIL0L1Mkbv18c=h310-rw" u="image" /></div>  
89:  <div>  
90:  <img src="https://lh6.ggpht.com/CZfcT_opE_6Hgnyu_aap1utIDsl-ABIKrSQJNCM0gwmtHtS499-1GOUOwzGBelLfWQ0=h310-rw" u="image" /></div>  
91:  </div>  
92:  <!-- Bullet Navigator Skin Begin -->  
93:      <style>  
94:        /* jssor slider bullet navigator skin 03 css */  
95:        /*  
96:        .jssorb03 div      (normal)  
97:        .jssorb03 div:hover   (normal mouseover)  
98:        .jssorb03 .av      (active)  
99:        .jssorb03 .av:hover   (active mouseover)  
100:        .jssorb03 .dn      (mousedown)  
101:        */  
102:        .jssorb03 div, .jssorb03 div:hover, .jssorb03 .av  
103:        {  
104:          background: url(../img/b03.png) no-repeat;  
105:          overflow:hidden;  
106:          cursor: pointer;  
107:        }  
108:        .jssorb03 div { background-position: -5px -4px; }  
109:        .jssorb03 div:hover, .jssorb03 .av:hover { background-position: -35px -4px; }  
110:        .jssorb03 .av { background-position: -65px -4px; }  
111:        .jssorb03 .dn, .jssorb03 .dn:hover { background-position: -95px -4px; }  
112:      </style>  
113:      <!-- bullet navigator container -->  
114:      <br />  
115:  <div 4px="" 6px="" absolute="" class="&quot;jssorb03&quot;" position:="" quot="" right:="" u="&quot;navigator&quot;">  
116:  <!-- bullet navigator item prototype -->  
117:        <br />  
118:  <div 12px="" 21px="" absolute="" center="" font-size:="" height:="" line-height:="" position:="" quot="" text-align:="" u="&quot;prototype&quot;" white="" width:="">  
119:  <numbertemplate></numbertemplate></div>  
120:  </div>  
121:  <!-- Bullet Navigator Skin End -->  
122:      <!-- Arrow Navigator Skin Begin -->  
123:      <style>  
124:        /* jssor slider arrow navigator skin 03 css */  
125:        /*  
126:        .jssora03l       (normal)  
127:        .jssora03r       (normal)  
128:        .jssora03l:hover    (normal mouseover)  
129:        .jssora03r:hover    (normal mouseover)  
130:        .jssora03ldn      (mousedown)  
131:        .jssora03rdn      (mousedown)  
132:        */  
133:        .jssora03l, .jssora03r, .jssora03ldn, .jssora03rdn  
134:        {  
135:         position: absolute;  
136:         cursor: pointer;  
137:         display: block;  
138:          background: url(../img/a03.png) no-repeat;  
139:          overflow:hidden;  
140:        }  
141:        .jssora03l { background-position: -3px -33px; }  
142:        .jssora03r { background-position: -63px -33px; }  
143:        .jssora03l:hover { background-position: -123px -33px; }  
144:        .jssora03r:hover { background-position: -183px -33px; }  
145:        .jssora03ldn { background-position: -243px -33px; }  
146:        .jssora03rdn { background-position: -303px -33px; }  
147:      </style>  
148:      <!-- Arrow Left -->  
149:      <span 123px="" 55px="" 8px="" class="&quot;jssora03l&quot;" left:="" quot="" top:="" u="&quot;arrowleft&quot;" width:="">  
150:      </span>  
151:      <!-- Arrow Right -->  
152:      <span 123px="" 55px="" 8px="" class="&quot;jssora03r&quot;" quot="" right:="" top:="" u="&quot;arrowright&quot;" width:="">  
153:      </span>  
154:      <!-- Arrow Navigator Skin End -->  
155:    </div>  
156:  <!-- Jssor Slider End -->  
157:  </div>  
158:  </div>  

I have marked certain line with different colors for different purposes you can download various different styled slide shows from here

All you have to do is copy the html code from  and paste in your post.
Certain changes are required in those codes to make them work

1: Replace the line marked with red color in those slide show designs at the exact same place

2: You can Change the size of slide show window and the Pictures to be displayed in Blue colored lines

3: Place your own links of pictures in the line marked with green color and you can add as many pictures as you want just keep copying the lines and add new links
Note: transition speed, number of pics per slide and other settings with guide are in code you can look up for them.

If you face any problems feel free to ask in the comments, and if you find it useful please share it with your friends and like us.  

Post a Comment

 
Top