MateuszGrabarczyk

kartka html

Jan 20th, 2023
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. <html>
  2. <body onload="loadGifts()" style="background-image: url('./kartka.jpg');
  3. background-repeat: no-repeat;
  4. background-attachment: fixed;
  5. background-size: 100% 100%;">
  6. <!-- <img src="./kartka.jpg" style="position: absolute; top: 50%; right: 50%; transform: rotate(90deg) translate(-50%, -50%);"/>-->
  7. <div >
  8. <p id="here" style="height: 100%; width: 100%; position: fixed; top: 100px; left: 15px; font-weight: bold; overflow-y: scroll;"></p>
  9. </div>
  10.  
  11. <script type="text/javascript">
  12. function loadGifts()
  13. {
  14.  
  15. let gifts = activity.getGifts();
  16. console.log("ttt", gifts);
  17. document.getElementById("here").innerHTML = gifts;
  18. }
  19.  
  20.  
  21. </script>
  22. </body>
  23. </html>
Add Comment
Please, Sign In to add comment