Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script src="jquery-1.6.2.min.js" type="text/javascript"> </script>
- <script src="ajaxLoader.js" type="text/javascript"> </script>
- <style>
- .ajaxLoader.loading {
- position: absolute;
- left: 50%;
- top: 50%;
- border: solid 1px #000;
- background-color: #aaa;
- width: 200px;
- height: 40px;
- text-align: center;
- padding-top: 15px;
- margin-left: -100px;
- margin-top: -27px;
- }
- </style>
- </head>
- <body>
- <a href="texto.php" target="divName" class="ajaxLoader"> Carregar texto </a>
- <div id="divName">
- Aqui vai ficar o texto carregado!
- </div>
- <div class="ajaxLoader loading">
- Carregando...
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment