skip to main |
skip to sidebar
slide effect SHOUTBOX ver.1
pegi
Dashboard >
Design >
Page Elements >
Add Gadget >
HtmL Javascript
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".btn-slide").click(function(){
$("#panel").slideToggle("slow");
$(this).toggleClass("active"); return false;
});
});
</script>
<style>
/* ---------------
Simple Slide panel with jQuery
---------------------------------- */
#panel {
height: auto;
background: #f90;
width: auto;
display: none;
padding: 7px;
border: #0C0;
-moz-box-shadow: 0px 0px 30px orangered;
-moz-border-radius-topright:10px;
-webkit-border-top-right-radius:2px;
-moz-border-radius-bottomright:2px;
-webkit-border-bottom-right-radius:2px;
-moz-border-radius-topleft:2px;
-webkit-border-top-left-radius:2px;
-moz-border-radius-bottomleft:2px;
-webkit-border-bottom-left-radius:2px;
}
.slide {
margin: 0;
padding: 0;
border-top: solid 4px #f90;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIpVF6vsM0GIhT5TFu7MjRemjFoRBRINn8JMld6L6A0TQAiNCy0AcX4qnpiYhLwKbpQpcUOmOvaTLamxh2l_zbWwNMFLiIpYbrpRi6Q-hPdfN4fzFvweCvI1YyKSt9X-UJznchDdM6sDg/s1600/btn-slide.png) no-repeat center top;
}
.btn-slide {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-AipHcKWG7LGIGyOUy9APUh3sg_NnpVJU5XD4LiulGTqNVJ1YmWkJiJndELuizWw1hd_NkZHCS0zi5UVEYd9XKpahhxAhWetZUfPbNMLI8asgNIzZ5Gk7fn-QQGpvxME6SvYaPsDezUs/s1600/white-arrow.gif) no-repeat right -50px;
text-align: center;
width: 144px;
height: 31px;
padding: 10px 10px 0 0;
margin: 0 auto;
display: block;
font: bold 120%/100% Arial, Helvetica, sans-serif;
color: #fff;
text-decoration: none;
}
.active {
background-position: right 12px;
}
</style>
<div id="panel">
<!-- SHOUTMIX CODES HERE -->
</div>
<p class="slide">
<a href="#" class="btn-slide">Buku Tamu</a></p>
text SHOUTMIX CODES HERE replace ngan shoutmix code korang :)
dah cba?? harap suka ;)
No comments:
Post a Comment