Тигра вырос...
webxrab.ru Это произошло как-то незаметно ))
function getVote(id, type) {
var id = ".window_login";
//Get the screen height and width
var maskHeight = $(window).height();
var maskWidth = $(window).width();
//Set heigth and width to mask to fill up the whole screen
$('#mask').css({'width':'100%','height':'100%'});
//transition effect
$('#mask').fadeIn(1000);
$('#mask').fadeTo("slow",0.8);
//Get the window height and width
var winH = $(window).height();
var winW = $(window).width();
//Set the popup window to center
$(id).css('top', winH/2-$(id).height()/2);
$(id).css('left', winW/2-$(id).width()/2);
//transition effect
$(id).fadeIn(0);
}
function getBayan(id) {
var id = ".window_login";
//Get the screen height and width
var maskHeight = $(window).height();
var maskWidth = $(window).width();
//Set heigth and width to mask to fill up the whole screen
$('#mask').css({'width':'100%','height':'100%'});
//transition effect
$('#mask').fadeIn(1000);
$('#mask').fadeTo("slow",0.8);
//Get the window height and width
var winH = $(window).height();
var winW = $(window).width();
//Set the popup window to center
$(id).css('top', winH/2-$(id).height()/2);
$(id).css('left', winW/2-$(id).width()/2);
//transition effect
$(id).fadeIn(0);
}
var id = ".window_login";
//Get the screen height and width
var maskHeight = $(window).height();
var maskWidth = $(window).width();
//Set heigth and width to mask to fill up the whole screen
$('#mask').css({'width':'100%','height':'100%'});
//transition effect
$('#mask').fadeIn(1000);
$('#mask').fadeTo("slow",0.8);
//Get the window height and width
var winH = $(window).height();
var winW = $(window).width();
//Set the popup window to center
$(id).css('top', winH/2-$(id).height()/2);
$(id).css('left', winW/2-$(id).width()/2);
//transition effect
$(id).fadeIn(0);
var id = $(this).attr('href');
var maskHeight = $(document).height();
var maskWidth = $(window).width();
$('#mask').css({'width':maskWidth,'height':maskHeight});
$('#mask').fadeIn(1000);
$('#mask').fadeTo("slow",0.8);
var winH = $(window).height();
var winW = $(window).width();
$(id).css('top', winH/2-$(id).height()/2);
$(id).css('left', winW/2-$(id).width()/2);
$(id).fadeIn(2000);
var id = ".window_login";> //Get the screen height and width > var maskHeight = $(window).height(); > var maskWidth = $(window).width(); > //Set heigth and width to mask to fill up the whole screen > $('#mask').css({'width':'100%','height':'100%'}); > //transition effect > $('#mask').fadeIn(1000); > $('#mask').fadeTo("slow",0.8); > //Get the window height and width > var winH = $(window).height(); > var winW = $(window).width(); > //Set the popup window to center > $(id).css('top', winH/2-$(id).height()/2); > $(id).css('left', winW/2-$(id).width()/2); > //transition effect > $(id).fadeIn(0);
var id = $(this).attr('href');
> var maskHeight = $(document).height();
> var maskWidth = $(window).width();
> $('#mask').css({'width':maskWidth,'height':maskHeight});
> $('#mask').fadeIn(1000);
> $('#mask').fadeTo("slow",0.8);
> var winH = $(window).height();
> var winW = $(window).width();
> $(id).css('top', winH/2-$(id).height()/2);
> $(id).css('left', winW/2-$(id).width()/2);
> $(id).fadeIn(2000);
var id = ".window_login";>> //Get the screen height and width >> var maskHeight = $(window).height(); >> var maskWidth = $(window).width(); >> //Set heigth and width to mask to fill up the whole screen >> $('#mask').css({'width':'100%','height':'100%'}); >> //transition effect >> $('#mask').fadeIn(1000); >> $('#mask').fadeTo("slow",0.8); >> //Get the window height and width >> var winH = $(window).height(); >> var winW = $(window).width(); >> //Set the popup window to center >> $(id).css('top', winH/2-$(id).height()/2); >> $(id).css('left', winW/2-$(id).width()/2); >> //transition effect >> $(id).fadeIn(0);
var id = $(this).attr('href');
>> var maskHeight = $(document).height();
>> var maskWidth = $(window).width();
>> $('#mask').css({'width':maskWidth,'height':maskHeight});
>> $('#mask').fadeIn(1000);
>> $('#mask').fadeTo("slow",0.8);
>> var winH = $(window).height();
>> var winW = $(window).width();
>> $(id).css('top', winH/2-$(id).height()/2);
>> $(id).css('left', winW/2-$(id).width()/2);
>> $(id).fadeIn(2000);
Даю бесплатный совет - выкладывай картинки прямой ссылкой, не будь пиарастом.