Daniel,
Thank you for idea, now all works.
HTML:
Widget 2x1 view.
Thank you for idea, now all works.
HTML:
Code:
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Redirect Button</title>
<style>
/* Ensure body fills the screen */
body, html {
height: 100%;
margin: 0;
font-family: Arial, sans-serif;
}
/* Style and position the button */
.button-container {
position: absolute;
right: 45px; /* Move the button to the right */
top: 20px; /* Move the button a bit down */
}
button {
padding: 15px 30px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 5px;
background-color: #4CAF50;
color: white;
}
button:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="button-container">
<button onclick="window.location.href='http://IP/scada-vis/';">Home</button>
</div>
<!-- Other content that won't be affected -->
<div>
<p></p>
</div>
</body>
</html>Widget 2x1 view.