Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- </head>
- <body>
- <div id="main">
- <button onclick="back()">Wstecz</button>
- <button onclick="next()">Dalej</button>
- <p> essa wariacie </p>
- <input type="button" value="1przycisk" onclick="zmien()">
- <input type="button" value="2przycisk" onclick="zmiana()">
- <input type="button" value="3przycisk" onclick="zmianaa()">
- <script>
- function back(){
- window.history.back();
- }
- function next(){
- window.history.forward();
- }
- function zmien()
- {
- document.bgColor='blue'
- }
- function zmiana()
- {
- document.bgColor='red'
- }
- function zmianaa()
- {
- document.bgColor='yellow'
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement