// Custom Contact Forms plugin javascript var cid; function storePopupVar(form_id) { cid = form_id; } var $j = jQuery.noConflict(); $j(document).ready(function(){ $j('') .addClass('ccf-popover-close') .html('[close]') .prependTo('.ccf-popover'); $j('.ccf-popover').css({'padding' : '10px 14px 10px 10px'}); $j("a#in").click(function(){ var sel = ".ccf-popover" + cid; $j(".ccf-popover1").fadeIn(); }); $j(".ccf-popover-close").click(function(){ $j(".ccf-popover").hide(); }); $j('.show-field-instructions').click(function() { }); $j(".ccf-tooltip-field").tooltip({ position: "center right", offset: [-2, 10], effect: "fade", opacity: 0.7, tipClass: 'ccf-tooltip' }); $j("#ccf-form-success").delay(500).fadeIn('slow'); $j("#ccf-form-success .close").click(function() { $j("#ccf-form-success").fadeOut(); }); });