Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Rezerva</title>
- <link rel="stylesheet" href="jquery_ui.css">
- <script src="jquery.js"></script>
- <script src="jquery-ui.js"></script>
- <style>
- #main {
- background-color: #e78f08;
- border: 3px solid green;
- display: inline-block;
- position: absolute;
- }
- </style>
- </head>
- <body>
- <button id="btn">Click</button>
- <br>
- <div id="main">Nekoj tekst</div>
- <script>
- $(document).ready(function (){
- $("#btn").click(function (){
- $("#main").addClass("divce")
- $("#main").animate({
- width:"200px",
- left:"50px",
- top:"80px",
- color:"red",
- fontSize:"40px"
- })
- })
- })
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement