Saturday, May 02, 2009

Popup reception popup. Income loan.

$(function() { email_article(); print_article(); }); // Open an outward popup window party open_window(title) { var windowWidth = document.documentElement.clientWidth; var windowHeight = document.documentElement.clientHeight; var popup_width = 680; var popup_height = 450; var larboard = windowWidth / 2 - popup_width / 2; var apogee = windowHeight / 2 - popup_height / 2; var away = window.open('', title, 'menubar=1,scrollbars=1,resizable=1,width=' + popup_width + ',height=' + popup_height + ',top=' + surpass + ',left=' + left); render win; } work as empty_errors() { // Resets the contents of the slip-up div and undo the // scroll barring on the sub-container that allows the boo-boo // messagees to spasm on the curtain $('#email_this__popup__error').css({'display': 'none'}); $('#email_this__popup__error__body').empty(); $('#email_this__popup__container').css({'overflow': 'visible'}); } // Load the popup. gala popup_load(status_var, popup_div) { // Loads popup only if it is disabled. if (status_var == false) { $("#popup__background").css({"opacity": "0.85"}); $("#popup__background").show(); $("#" + popup_div).show(); proffer true; } crop up again false; } // Close the popup. behave popup_close(status_var, popup_div) { // Closes popup only if it is open. if (status_var == true) { $("#popup__background").hide(); $("#" + popup_div).hide(); // Un-Hide the ads. $('#rhsrail').css({'display': 'block'}); $('#topad').css({'display': 'block'}); $('#lhsrail').css({'display': 'block'}); give false; } renewal true; } // Center the popup. task popup_center(popup_div) { // Request observations for centering. var windowWidth = document.documentElement.clientWidth; var windowHeight = document.documentElement.clientHeight; var popupHeight = $("#" + popup_div).height(); var popupWidth = $("#" + popup_div).width(); // Vertically center the popup. $("#" + popup_div).css({ "top": windowHeight / 2 - popupHeight / 2 }); // Hide the ads. $('#rhsrail').css({'display': 'none'}); $('#topad').css({'display': 'none'}); $('#lhsrail').css({'display': 'none'}); // Needed for IE6 $("#popup__background").css({"height": windowHeight}); } job print_article() { var print_this__popup__status = false; // Load the "print this" popup. $(".print_this").click(function() { if (!print_this__popup__status) { var come = open_window('print_this'); var apparent = win.document; external.write('.

popup





Originally posted post: here


No comments: