Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <style type="text/css">
- .kutija{
- display: none;
- border: 2px solid red;
- height: 200px;
- width = 200px;
- position: absolute;
- bottom: 0;
- right: 0;
- }
- .close{
- background-color: coral;
- position: absolute;
- top: 0;
- right: 0;
- height: 25px;
- width: 25px;
- text-align: center;
- }
- </style>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
- <script>
- $(document).ready(function(){
- $(".close").click(function(){
- $(".kutija").fadeOut();
- });
- $(".kutija").delay(2000).slideDown(1000);
- });
- </script>
- </head>
- <body>
- <div class="kutija">
- <div class="close">
- X
- </div>
- <div>
- Da li vam je potrebna pomoc?
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement