This commit is contained in:
moon 2014-11-18 10:57:18 +08:00
commit e0571a888e
1 changed files with 3 additions and 2 deletions

View File

@ -49,6 +49,7 @@
}
$("#floatpoint").css("top",YY);
}
//$("#floatpoint").css("left",screen_width/2+body_width/2+5);
$(document).ready(function(){var body_width = $("#top-menu").width(); $("#floatpoint").css("left",screen_width/2+body_width/2+10);});
function change_size(){var body_width = $("#top-menu").width(); $("#floatpoint").css("left",screen_width/2+body_width/2+10);}
$(document).ready(function(){change_size();});
$(window).resize(function(){screen_width = $(window).width();change_size();});
</script>