TimberVis Flexiboard: Visualization and Exploration Flexiboard for Timber Buildings IoT data sensors. The pulse of the wood Monitoring of Wooden houses: Time series of sensors data measuring humidity, temperatures, vibrations and weather conditions. https://lnu.se/forskning/forskningsprojekt/projekt-flexiboard-for-visualisering-och-utforskning-av-trabyggnader/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
infravis-trahust/web-html/z-archive/test-add-html.html

36 lines
915 B

<!DOCTYPE html>
<html>
<head>
<title>Click to Add Block</title>
<script>
// Function to create the HTML block element
function createBlock() {
const block = document.createElement('div');
block.className = 'block'; // You can add CSS classes to style the block
block.innerHTML = 'This is a new block!'; // You can customize the content here
return block;
}
// Function to add the HTML block to the container
function addBlockToContainer() {
const container = document.getElementById('container');
const block = createBlock();
container.appendChild(block);
}
// Add a click event listener to the button
const addButton = document.getElementById('addButton');
addButton.addEventListener('click', addBlockToContainer);
</script>
</head>
<body>
<button id="addButton">Add Block</button>
<div id="container"></div>
<script src="script.js"></script>
</body>
</html>