How To Add Animated Notice Box to Blogger
1.Login to your blogger Dashboard and go to Desing --> Page Elements.
2.Click on 'Add a Gadget' on the sidebar.
3.Select 'HTML/Javascript' and add the one of code given below
<style>
#info{
border: 1px solid;
margin: 10px 0px;
padding:15px 10px 15px 50px;
background-repeat: no-repeat;
background-position: 10px center;
position:relative;
color: #FFF;
background-color: #000000;
background-image: url('http://i46.tinypic.com/jzf8tk.jpg');
}
</style><script src="http://code.jquery.com/jquery-1.2.3.min.js" type="text/javascript">
</script>
<script type="text/javascript">
$(document).ready(function(){
$(".close").click(function(){
$("#info").animate({left:"+=10px"}).animate({left:"-5000px"});
});
$("#info").fadeOut(800).fadeIn(800).fadeOut(400).fadeIn(400)
.fadeOut(400).fadeIn(400);
});
</script>
<div id="info">
<a class="close" href="#close" style="float: right;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV-VsNiQMyKJVS0lrg5oAKb16DoCjOAqIAvISiVh76JR7TPU_c_FjvSTNweQx_4pcrPctLMY4hWi8x8Yks3044E8hsTtoPIKFvImFjKh5JKFlL3SuTKM7ZGv5GemSqtCkJyjIBiEDA82gs/s1600/images.jpg" /></a>
Hello This is test Notice...
Note: Replace Hello This is test Notice. with your notice..
4.Now Save "Html java Script" your are done.
Cheers

No comments:
Post a Comment