Category: javascript


How to set a Maginic popup with cookie

In this post we talk about How to set Cookie In Megnific Popup Step 1: Add this link under the head tag <link rel=”stylesheet” href=””> <script src=””></script> <script src=””></script> Step 2: Add this script below script tag var check_cookie = $.cookie(‘bsw’); if (check_cookie == undefined) { $.cookie(‘bsw’, ‘yes’, {expires: 1}); ${items: {src: ‘#popup-modal’},type: ‘inline’}, 0); […]

Back To Top