b0y-101 Mini Shell


Current Path : E:/www/buriram/modules/mod_popupaholic/js/
File Upload :
Current File : E:/www/buriram/modules/mod_popupaholic/js/jquery-cookie.min.js

function addPopupEvent(e,n,t){e.addEventListener?e.addEventListener(n,t,!1):e.attachEvent&&e.attachEvent("on"+n,t)}jQuery.cookie=function(e,n,t){if(arguments.length>1&&"[object Object]"!==String(n)){if(t=jQuery.extend({},t),null!==n&&void 0!==n||(t.expires=-1),"number"==typeof t.expires){var o=t.expires,r=t.expires=new Date;r.setDate(r.getDate()+o)}return n=String(n),document.cookie=[encodeURIComponent(e),"=",t.raw?n:encodeURIComponent(n),t.expires?"; expires="+t.expires.toUTCString():"",t.path?"; path="+t.path:"",t.domain?"; domain="+t.domain:"",t.secure?"; secure":""].join("")}var i,c=(t=n||{}).raw?function(e){return e}:decodeURIComponent;return(i=new RegExp("(?:^|; )"+encodeURIComponent(e)+"=([^;]*)").exec(document.cookie))?c(i[1]):null},jQuery(document).ready(function(){jQuery(".closePopup").on("click",function(e){e.preventDefault(),jQuery.ifancybox.close()})});

Copyright © 2019 by b0y-101