Forum › Forum › Prestashop Theme › SNS Simen – Responsive Prestashop Theme › bug with pop up newsletter
-
AuthorPosts
-
June 6, 2017 at 9:02 pm #29579
Hi Stephen
Sorry, but i have still a problem.
It’s a problem with a pop-up newsletter, can you help me please ? Thanks
Here ci below a message :
<script type=”text/javascript”>
if (window.innerWidth > 768 ) {
$(document).ready(function($){
if ($.cookie(‘popupNewLetterStatus’) != ‘closed’) {
$.fancybox({
padding : 0,
width : 800,
height: ‘auto’,
autoSize: false,
openEffect: ‘elastic’,
‘beforeLoad’: function(){
$(‘#popup-subscribe’).removeClass(‘hidden’);
},
href: ‘#popup-subscribe’,
‘afterClose’ : function(){
$(‘#popup-subscribe’).addClass(‘hidden’);
if ($(‘input.no-view’).is(‘:checked’)) {
$.cookie(‘popupNewLetterStatus’, ‘closed’, {expires:1, path:’/’});
}
}
});
}
});
}
</script>93-produits-pour-chiens-gueule-d-amour:8916 Uncaught TypeError: $.fancybox is not a function at HTMLDocument.<anonymous> (93-produits-pour-chiens-gueule-d-amour:8916) at j (jquery-1.11.0.min.js:2) at Object.fireWith [as resolveWith] (jquery-1.11.0.min.js:2) at Function.ready (jquery-1.11.0.min.js:2) at HTMLDocument.K (jquery-1.11.0.min.js:2)
-
AuthorPosts
You must be logged in to reply to this topic. Click here to login or register
Useful
Recent Topics
Support Policy
- Official hour: Mon-Fri / 9am-5pm
- Location time: GMT + 7