質問編集履歴

4

細かな部分の修正

2016/03/18 05:28

投稿

a_ya
a_ya

スコア32

test CHANGED
File without changes
test CHANGED
@@ -268,7 +268,7 @@
268
268
 
269
269
 
270
270
 
271
- ```javascript
271
+ ```jQuery
272
272
 
273
273
  <?php if((is_front_page())){
274
274
 

3

タイトルの変更

2016/03/18 05:28

投稿

a_ya
a_ya

スコア32

test CHANGED
@@ -1 +1 @@
1
- php wordpress スライドショー 左に固定ボタン挿入
1
+ php javascript スライドショー 左に固定ボタン挿入
test CHANGED
File without changes

2

javascriptのコードの追加

2016/03/17 11:25

投稿

a_ya
a_ya

スコア32

test CHANGED
File without changes
test CHANGED
@@ -265,3 +265,55 @@
265
265
  }
266
266
 
267
267
  ```
268
+
269
+
270
+
271
+ ```javascript
272
+
273
+ <?php if((is_front_page())){
274
+
275
+ if(get_option('expression_slideshow_display')=='yes'){
276
+
277
+ ?>
278
+
279
+ <script type="text/javascript">
280
+
281
+ /* script for top slider */
282
+
283
+
284
+
285
+ jQuery(window).load(function() {
286
+
287
+
288
+
289
+ //flexslider
290
+
291
+
292
+
293
+ jQuery('#top_slider').flexslider({
294
+
295
+ animation: "<?php echo (get_option('expression_slideshow_type'))?get_option('expression_slideshow_type'):'slide'; ?>",
296
+
297
+ controlNav: true,
298
+
299
+ directionNav: <?php echo (is_smartphone())?'false':'true'; ?>,
300
+
301
+ animationLoop: true,
302
+
303
+ slideshow: true,
304
+
305
+ smoothHeight: true,
306
+
307
+ slideshowSpeed: <?php echo (get_option('expression_slideshow_time'))?get_option('expression_slideshow_time'):'2000'; ?>,
308
+
309
+ animationSpeed: <?php echo (is_smartphone())?'800':'1800';?>
310
+
311
+ });
312
+
313
+
314
+
315
+ });
316
+
317
+ </script>
318
+
319
+ ```

1

タイトルの変更

2016/03/17 11:24

投稿

a_ya
a_ya

スコア32

test CHANGED
@@ -1 +1 @@
1
- wordpress スライドショー 左に固定ボタン挿入
1
+ php wordpress スライドショー 左に固定ボタン挿入
test CHANGED
File without changes