Code:
<head>
<meta charset="UTF-8">
<title></title>
<script src="js/jquery.min.js"></script>
<script src="js/shutter.js"></script>
<script src="js/velocity.js"></script>
<link rel="stylesheet" href="css/shutter.css">
<link rel="stylesheet" type="text/css" href="css/index.css" />
<script>
$(function() {
console.log($(window).width());
$(".shutter").shutter({
shutterW: $(window).width,
shutterH: 440, //
isAutoPlay: true, //
playInterval: 3000, //
curDisplay: 0, //
fullPage: false //
});
console.log($(window).width());
});
</script>
</head>
print:
print differently before and after.
my code is run on the server.
if I open this page directly and don"t run it on the server, I get 1343. Why is this happening?