"); document.write(""); "); //function setTargetDivWidth() { // // Get the source and target div elements // //For task_tree_container // const sourceDiv = document.getElementById('task_tree_container'); // const targetDiv = document.getElementById('task_toolbar_tree_menu'); // console.log("sourceDiv : ", sourceDiv); // console.log("targetDiv : ", targetDiv); // const sourceListDiv = document.getElementById('task_list_container'); // const targetListDiv = document.getElementById('task_toolbar_list_menu'); // console.log("sourceListDiv : ", sourceListDiv); // console.log("targetListDiv : ", targetListDiv); // const sourceContentDiv = document.getElementById('task_content_container'); // const targetContentDiv = document.getElementById('task_toolbar_content_menu'); // console.log("sourceContentDiv : ", sourceContentDiv); // console.log("targetContentDiv : ", targetContentDiv); // // Check if sourceDiv exists // if (sourceDiv) { // // Set the width of the targetDiv dynamically based on the width of sourceDiv // //Tree // targetDiv.style.width = (sourceDiv.offsetWidth - 15) + 'px'; // //List // targetListDiv.style.width = (sourceListDiv.offsetWidth - 15) + 'px'; // //Content // targetContentDiv.style.width = (sourceContentDiv.offsetWidth - 15) + 'px'; // } else { // // If sourceDiv is not found, re-run the code after 5 seconds // setTimeout(setTargetDivWidth, 500); // } //} //// Call the function initially //setTargetDivWidth();