| 1 |
function cookieadmin_dotweet(ele){ |
| 2 |
window.open(jQuery("#"+ele.id).attr("action")+"?"+jQuery("#"+ele.id).serialize(), "_blank", "scrollbars=no, menubar=no, height=400, width=500, resizable=yes, toolbar=no, status=no"); |
| 3 |
return false; |
| 4 |
} |
| 5 |
|
| 6 |
document.addEventListener("DOMContentLoaded", function() { |
| 7 |
if(!cookieadmin_data['is_pro']){ |
| 8 |
jQuery("[cookieadmin-pro-only]").each(function(index) { |
| 9 |
jQuery(this).filter("input, textarea, select").attr("disabled", true).css('cursor', 'not-allowed'); |
| 10 |
jQuery(this).find( "input, textarea, select, span" ).attr("disabled", true).css('cursor', 'not-allowed'); |
| 11 |
jQuery(this).find( "input.cookieadmin-color-input" ).css("margin-left", "0px"); |
| 12 |
jQuery(this).find( "label span" ).not('.cookieadmin-tooltip-box').css("background-color", "#e8e8e8").css("color", "#9f9f9f"); |
| 13 |
}); |
| 14 |
} |
| 15 |
}); |