264dc317 by Jeff Balicki

sss

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 5fdefbbd
...@@ -62,6 +62,7 @@ function contest_slider(){ ...@@ -62,6 +62,7 @@ function contest_slider(){
62 <div class="contest_cap"><?php echo $cap;?> </div> 62 <div class="contest_cap"><?php echo $cap;?> </div>
63 </div> 63 </div>
64 </div> 64 </div>
65 <a class="btn-next">Next <i class="fas fa-arrow-right"></i></a>
65 </div> 66 </div>
66 </div> 67 </div>
67 </div> 68 </div>
...@@ -119,6 +120,14 @@ function contest_slider(){ ...@@ -119,6 +120,14 @@ function contest_slider(){
119 font-size: 20px; 120 font-size: 20px;
120 color:#fff; 121 color:#fff;
121 } 122 }
123 .btn-next{
124 color:#fff;
125 margin:auto;
126 }
127 .btn-next:hover{
128 color:#ccc;
129
130 }
122 131
123 132
124 </style> 133 </style>
......
...@@ -25005,6 +25005,15 @@ ...@@ -25005,6 +25005,15 @@
25005 }, index * 1000); 25005 }, index * 1000);
25006 }); 25006 });
25007 } 25007 }
25008 $("div[id^='Modal']").each(function () {
25009 var currentModal = $(this);
25010
25011 //click next
25012 currentModal.find('.btn-next').click(function () {
25013 currentModal.modal('hide');
25014 currentModal.closest("div[id^='Modal']").nextAll("div[id^='Modal']").first().modal('show');
25015 });
25016 });
25008 }); 25017 });
25009 25018
25010 jQuery(document).ready(function ($) { 25019 jQuery(document).ready(function ($) {
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -75,4 +75,18 @@ jQuery(document).ready(function($) { ...@@ -75,4 +75,18 @@ jQuery(document).ready(function($) {
75 }); 75 });
76 } 76 }
77 77
78 $("div[id^='Modal']").each(function(){
79
80 var currentModal = $(this);
81
82 //click next
83 currentModal.find('.btn-next').click(function(){
84 currentModal.modal('hide');
85 currentModal.closest("div[id^='Modal']").nextAll("div[id^='Modal']").first().modal('show');
86 });
87
88
89 });
90
91
78 }); 92 });
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 Author: the Understrap Contributors 5 Author: the Understrap Contributors
6 Author URI: https://github.com/understrap/understrap-child/graphs/contributors 6 Author URI: https://github.com/understrap/understrap-child/graphs/contributors
7 Template: understrap 7 Template: understrap
8 Version: 1.2.0048 8 Version: 1.2.0049
9 License: GNU General Public License v2 or later 9 License: GNU General Public License v2 or later
10 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html
11 Text Domain: understrap-child 11 Text Domain: understrap-child
......