You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
569 B
JavaScript

$(function(){
var overlay_modal = $('<div id="overlay_modal"></div>');
overlay_modal.show();
overlay_modaloverlay_modal.appendTo(document.body);
$('html, body').css('position', 'fixed');
$('.button-tos, #button-right, .button-ht, #t_button-right ').show();
$('.popupclose').click(function(){
$('.close, .t_close').hide();
overlay_modal.appendTo(document.body).remove();
$('html, body').css("position", "relative");
return false;
});
$('.x').click(function(){
$('.popup').hide();
overlay.appendTo(document.body).remove();
return false;
});
});