Lines Matching refs:options

17 	$.cookieBar = function(options,val){  argument
18 if(options=='cookies'){
20 }else if(options=='set'){
52 var options = $.extend(defaults,options);
56 expireDate.setTime(expireDate.getTime()+(options.expireDays*86400000));
70 if(cookieValue=='' && doReturn!='cookies' && options.autoEnable){
73 …}else if((cookieValue=='accepted' || cookieValue=='declined') && doReturn!='cookies' && options.re…
76 if(options.acceptOnContinue){
77 …if(options.referrer.indexOf(options.domain)>=0 && String(window.location.href).indexOf(options.pol…
99 var message = options.message.replace('{policy_url}',options.policyURL);
101 if(options.acceptButton){
102 var acceptButton = '<a href="" class="cb-enable">'+options.acceptText+'</a>';
107 if(options.declineButton){
108 var declineButton = '<a href="" class="cb-disable">'+options.declineText+'</a>';
113 if(options.policyButton){
114 … var policyButton = '<a href="'+options.policyURL+'" class="cb-policy">'+options.policyText+'</a>';
119 if(options.fixed){
120 if(options.bottom){
128 if(options.zindex!=''){
129 var zindex = ' style="z-index:'+options.zindex+';"';
135 if(options.forceShow || cookieValue=='enabled' || cookieValue==''){
136 if(options.append){
137 …$(options.element).append('<div id="cookie-bar"'+fixed+zindex+'><p>'+message+'</p><p>'+acceptButto…
139 …$(options.element).prepend('<div id="cookie-bar"'+fixed+zindex+'><p>'+message+'</p><p>'+acceptButt…
144 if(options.acceptOnScroll) $(document).off('scroll');
146 if(options.effect=='slide'){
148 }else if(options.effect=='fade'){
157 removeBar(options.acceptFunction);
167 …document.cookie = aCookie[0]+'=0; expires='+deleteDate+'; domain='+options.domain.replace('www',''…
173 removeBar(options.declineFunction);
181 if(options.acceptOnScroll){
190 if(scrollDiff>=Math.round(options.acceptOnScroll)) cookieAccept();
193 if(options.acceptAnyClick){