以下のリンクからログインモーダルをダウンロードしました。http://www.alessioatzeni.com/blog/login-box-modal-dialog-window-with-css-and-jquery/
CSSにいくつかの変更を加えましたが、それだけです。
ボタンをクリックしたときにモーダル ウィンドウを起動する jQuery コードを次に示します。
$(document).ready(function() {
$('a.loginbutton').click(function() {
    // Getting the variable's value from a link 
    var loginBox = $(this).attr('href');
    //Fade in the Popup and add close button
    $(loginBox).fadeIn(300);
    $.fn.formLabels(); //Initialize form labels
    //Set the center alignment padding + border
    var popMargTop = ($(loginBox).height() + 24) / 2; 
    var popMargLeft = ($(loginBox).width() + 24) / 2; 
    $(loginBox).css({ 
        'margin-top' : -popMargTop,
        'margin-left' : -popMargLeft
    });
    // Add the mask to body
    $('body').append('<div id="mask"></div>');
    $('#mask').fadeIn(300);
    return false;
});
// When clicking on the button close or the mask layer the popup closed
$('a.close, #mask').live('click', function() { 
  $('#mask , .login-popup').fadeOut(300 , function() {
    $('#mask').remove();  
}); 
return false;
});
    });
基本的に、ページの読み込み時にこのモーダルを読み込む必要があります。私は jQuery をほとんど知らないので、プラグインをダウンロードした理由です。私は本当にこれが機能する必要があります。
私はすでにこのコードを書いた人に連絡を取ろうとしましたが、返事はありませんでした。