You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
$(document).ready(function () {
|
|
|
|
|
|
|
|
|
|
$(".signin").click(function () {
|
|
|
|
|
|
|
|
|
|
var winWidth = 0;
|
|
|
|
|
if (window.innerWidth)
|
|
|
|
|
winWidth = window.innerWidth;
|
|
|
|
|
else if ((document.body) && (document.body.clientWidth))
|
|
|
|
|
winWidth = document.body.clientWidth;
|
|
|
|
|
// 通过深入Document内部对body进行检测,获取窗口大小
|
|
|
|
|
if (document.documentElement && document.documentElement.clientHeight && document.documentElement.clientWidth) {
|
|
|
|
|
winWidth = document.documentElement.clientWidth;
|
|
|
|
|
}
|
|
|
|
|
$("fieldset#signin_menu").toggle();
|
|
|
|
|
$(".signin").toggleClass("menu-open");
|