Loading...
window.addEventListener("load", function () { var LoadImgOpts = [ ["Wilder-Systems.webp", "Airplane Washing | Wilder Systems", "https://robodk.com/blog/automated-airplane-washing/"], ["Robot-Milling-Hockey-Sticks.webp", "Robot Milling Hockey Sticks | Sunrob Robotics", "https://robodk.com/blog/robot-milling-hockey-sticks/"], ["Kane-Robotics-Propeller.webp", "Propeller Polishing | Kane Robotics", "https://robodk.com/blog/robot-orbital-polishing/"], ["NASA-Dual-Inspection.webp", "Dual Robot Inspection | NASA", "https://robodk.com/blog/multi-robot-inspection/"], ["Rob-and-Nick-Carter-Robot-painting.webp", "Lights Out Robot Painting | Nick and Rob Carter", "https://robodk.com/blog/lights-out-robot-painting/"], ["DTU-Concrete-3D-Printing.webp", "Concrete 3D Printing | DTU", "https://robodk.com/blog/3d-concrete-printing-challenges/"], ["Rebar-Rebartek-KUKA.webp", "Rebar Manufacturing | Rebartek", "https://robodk.com/blog/automated-rebar-manufacturing/"], ["Robot-Drawing.webp", "Instant Portraits - CMOCOS", "https://robodk.com/blog/robot-instant-portraits/"], ]; var randId = Math.floor(Math.random() * (LoadImgOpts.length)); var txtimg = LoadImgOpts[randId][0]; var txtspan = LoadImgOpts[randId][1]; var txta = LoadImgOpts[randId][2]; var qtssimg = document.getElementById("qtssimg"); var qtsspan = document.getElementById("qtsspan"); var qtssa = document.getElementById("qtssa"); if (!qtsspan) { console.log("Qt load screen removed (second load?)"); return; } qtsspan.innerText = txtspan; qtssa.href = txta + "?utm_source=RoboDK-Web&utm_medium=Starting"; qtssimg.alt = txtspan; qtssimg.src = "assets/loading/" + txtimg; // qtssimg.src = "./assets/loading/" + txtimg; var bar = document.getElementById("progress-bar-fill"); bar.style.width = "100%"; });