This should work
<body onclick="window.location.href=filename">
body text
</body>
質問
This is not a really difficult question, but how do you make the whole webpage clickable? I need this for my website I want that if you click anywhere a file is downloaded.
body {
ifclickanywhere - download file
}
解決
This should work
<body onclick="window.location.href=filename">
body text
</body>