Advertisement
Guest User

Untitled

a guest
May 24th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4. <head>
  5.  
  6. </head>
  7. <body>
  8. <div id="main">
  9. <button onclick="back()">Wstecz</button>
  10. <button onclick="next()">Dalej</button>
  11. <p> essa wariacie </p>
  12.  
  13.  
  14. <input type="button" value="1przycisk" onclick="zmien()">
  15. <input type="button" value="2przycisk" onclick="zmiana()">
  16. <input type="button" value="3przycisk" onclick="zmianaa()">
  17. <script>
  18. function back(){
  19. window.history.back();
  20. }
  21. function next(){
  22. window.history.forward();
  23. }
  24.  
  25. function zmien()
  26. {
  27. document.bgColor='blue'
  28. }
  29. function zmiana()
  30. {
  31. document.bgColor='red'
  32. }
  33. function zmianaa()
  34. {
  35. document.bgColor='yellow'
  36. }
  37.  
  38.  
  39. </script>
  40. </body>
  41. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement