Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="widget_text widget"><div class="widget_text inner"><div class="textwidget custom-html-widget">
- <style type="text/css">
- /* Message Box */
- #box-message {
- position:fixed !important;
- position:absolute;
- top:400px;
- left:30%;
- margin:0px 0px 0px 0px;
- width:35%;
- height:auto;
- padding:16px;
- background:#fff;
- font:normal Dosis, Georgia, Serif;
- color:#111;
- border:2px solid #333;
- -webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
- -moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
- box-shadow:0px 1px 2px rgba(0,0,0,0.4);
- -webkit-border-radius:10px;
- -moz-border-radius:10px;
- border-radius:10px;
- }
- #box-message a.close {
- position:absolute;
- top:-12px;
- left:-14px;
- background:#fff;
- font:bold 16px Arial, Sans-Serif;
- text-decoration:none;
- line-height:10px;
- width:10px;
- text-align:center;
- color:#111;
- border:2px solid #333;
- -webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
- -moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
- box-shadow:0px 1px 2px rgba(0,0,0,0.4);
- -webkit-border-radius:22px;
- -moz-border-radius:22px;
- border-radius:22px;
- cursor:pointer;
- }
- </style>
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
- <script type="text/javascript">
- $(window).bind("load", function() {
- // Animate Top Value When Page Loaded Completed
- $('#box-message').animate({top:"350px"}, 2000);
- // Remove Mailbox When Close Button On Click
- $('a.close').click(function() {
- $(this).parent().fadeOut();
- return false;
- });
- });
- </script>
- <div id="box-message"><b>KLIK (x) Untuk Menutup</b>
- <center>
- <p style="text-align: center; font-size: 14px;"><span style="color: #e74c3c;"><strong>Selamat Datang </strong></span></p>
- <p style="text-align: center; font-size: 16px;"><span style="color: #e74c3c;"><strong>Di SastraCerpen.Com</strong></span></p>
- </center>
- <!-- HTML End -->
- <a class="close" href="#">×</a></div>
- </div></div></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement