Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>Link Style Test</title>
- <style>
- body{
- color:red;
- }
- a:link{ color:c00; text-decoration:none; }
- a:visited{ color:c00; text-decoration:none; }
- a:hover{ color:666; text-decoration:underline; }
- a:active{ color:c00; text-decoration:none; }
- divtest{
- font-family:Courier, monospace;
- position:absolute;
- top:10px;left:10px;
- width:400px;
- height:300px;
- overflow:hidden;
- background-color:#ddd;
- }
- </style>
- </head>
- <body>
- <div id="divtest"></div>
- <script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
- <script type="text/javascript">
- function tick(){
- $('#divtest').html($('#divtest').html() + "<a href='#'>a link</a> not a link ");
- setTimeout(tick, 50);
- }
- tick();
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment