264dc317 by Jeff Balicki

sss

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 5fdefbbd
......@@ -62,6 +62,7 @@ function contest_slider(){
<div class="contest_cap"><?php echo $cap;?> </div>
</div>
</div>
<a class="btn-next">Next <i class="fas fa-arrow-right"></i></a>
</div>
</div>
</div>
......@@ -119,6 +120,14 @@ function contest_slider(){
font-size: 20px;
color:#fff;
}
.btn-next{
color:#fff;
margin:auto;
}
.btn-next:hover{
color:#ccc;
}
</style>
......
......@@ -25005,6 +25005,15 @@
}, index * 1000);
});
}
$("div[id^='Modal']").each(function () {
var currentModal = $(this);
//click next
currentModal.find('.btn-next').click(function () {
currentModal.modal('hide');
currentModal.closest("div[id^='Modal']").nextAll("div[id^='Modal']").first().modal('show');
});
});
});
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($) {
});
}
$("div[id^='Modal']").each(function(){
var currentModal = $(this);
//click next
currentModal.find('.btn-next').click(function(){
currentModal.modal('hide');
currentModal.closest("div[id^='Modal']").nextAll("div[id^='Modal']").first().modal('show');
});
});
});
\ No newline at end of file
......
......@@ -5,7 +5,7 @@
Author: the Understrap Contributors
Author URI: https://github.com/understrap/understrap-child/graphs/contributors
Template: understrap
Version: 1.2.0048
Version: 1.2.0049
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: understrap-child
......