Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <body>
- <div>
- <p id="Images"></p>
- </div>
- <script>
- var local = location.hostname;
- var dodlink = document.createElement(a);
- dodlink.href = "http://" + local + "/DoD/";
- var dodimg = document.createElement("img");
- dodimg.src ="DOD.png";
- dodimg.width = 256;
- dodimg.height = 256;
- dodlink.appendChild(dodimg);
- document.getElementByID("Images").innerHTML = dodimg;
- var derlink = document.createElement(a);
- derlink.href = "http://" + local + "/DER/";
- var derimg = document.createElement("img");
- derimg.src ="DER.png";
- derimg.width = 256;
- derimg.height = 256;
- derlink.appendChild(dodimg);
- document.getElementByID("Images").innerHTML = derimg;
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment