. 代碼如下:
$(document).ready(function(){
function getQueryString(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]); return null;
}
if (getQueryString("SignUp") == 1)
{
$("#divLogon").css({ top: "auto", left: "auto", position: "absolute" });
$('#registerModal1').modal('show');
}
})