|
|
@@ -194,18 +194,20 @@
|
|
|
openWindow = function() {
|
|
|
var popupX = (document.body.offsetWidth / 2) - (800 / 2);
|
|
|
var popupY= (window.screen.height / 2) - (700 / 2);
|
|
|
- window.open('gift_popup.html', '', 'status=no, height=700, width=800, left='+ popupX + ', top='+ popupY + ', screenX='+ popupX + ', screenY= '+ popupY);
|
|
|
+ window.open('https://image.istyle24.com/Statics/design/event/2021/1220Blanket/gift_popup.html', '', 'status=no, height=700, width=800, left='+ popupX + ', top='+ popupY + ', screenX='+ popupX + ', screenY= '+ popupY);
|
|
|
return;
|
|
|
}
|
|
|
- let slider = $('.gift_slider').bxSlider(
|
|
|
- {
|
|
|
- wrapperClass: 'giftwrap',
|
|
|
- auto: true,
|
|
|
- speed: 300,
|
|
|
- nextText: '<i class="xi-angle-right-thin"></i>',
|
|
|
- prevText: '<i class="xi-angle-left-thin"></i>',
|
|
|
- }
|
|
|
- );
|
|
|
+ $(function () {
|
|
|
+ let slider = $('.gift_slider').bxSlider(
|
|
|
+ {
|
|
|
+ wrapperClass: 'giftwrap',
|
|
|
+ auto: true,
|
|
|
+ speed: 300,
|
|
|
+ nextText: '<i class="xi-angle-right-thin"></i>',
|
|
|
+ prevText: '<i class="xi-angle-left-thin"></i>',
|
|
|
+ }
|
|
|
+ );
|
|
|
+ });
|
|
|
$(document).on('click','.bx-next, .bx-prev',function() {
|
|
|
slider.stopAuto();
|
|
|
slider.startAuto();
|