Skip to main content

Bug Tracker

Side navigation

Ticket #5630: demo.html


File demo.html, 0.7 KB (added by tsukasa1989, December 10, 2009 12:48PM UTC)

Resize screen and CPU crash (100%)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script language="javascript">
$(
    function(){
        /*
            Sticky footer
        */
		$(window).bind('resize', function() {
		   $("html, body, wrapper").animate({height : $(window).height() + "px"}, 0);
		});
		alert("ready");
	}
);
</script>
</head>

<body>

</body>
</html>

Download in other formats:

Original Format