Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (19 sloc) 647 Bytes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
<title>Responsive Image Test</title>
<script type="text/javascript">
(function() {
var date = new Date(),
max = (screen.availWidth > screen.availHeight ) ? screen.availWidth : screen.availHeight;
date.setTime(date.getTime() + (1 * 24 * 60 * 60 * 1000));
document.cookie = 'rwd-viewport = ' + max + '; expires = ' + date.toGMTString() + '; path = /';
})();
</script>
</head>
<body>
<img src="images/boston.jpg" />
</body>
</html>