JSFiddle - React, Tailwind, and code Playground
by Fransiskus Fallo
HTML
<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(){
$(".gbbtn").click(function(){
$("#gbcontent").slideToggle("slow");
$(this).toggleClass("active"); return false;
});
});
</script>
<style>
/* ---------------
Guestbook dengan jQuery
by :sanggar-belajar.blogspot.com
Url : http://sanggar-belara.blogspot.com/
---------------------------------- */
.gb {
position:fixed;
top:0px; left:0px;
z-index:+10;
}
#gbcontent {
height: auto;
background: #898787;
width: auto;
display: none;
padding: 10px;
border: #000;
-moz-border-radius-topright:10px;
-webkit-border-top-right-radius:10px;
-moz-border-radius-bottomright:10px;
-webkit-border-bottom-right-radius:10px;
-moz-border-radius-topleft:10px;
-webkit-border-top-left-radius:10px;
-webkit-border-bottom-left-radius:10px;
}
.gbslide {
float:left;
margin: 0;
padding: 0;
background: url(http://2.bp.blogspot.com/-lcYh19fWDJo/TfXzJ3M4cQI/AAAAAAAAAqg/XebLjCvnnI8/s1600/gbslide.png) no-repeat center top;
}
.gbbtn {
background: url(http://2.bp.blogspot.com/-tTC2wE9rv6M/TfX7qrnRaeI/AAAAAAAAAq0/W_h9PffOah8/s1600/button-Close-open2.png) no-repeat right -45px;
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: #CCC;
text-decoration: none;
}
.active {
background-position: right 12px;
}
</style>
<div class="gb">
<div id="gbcontent">Guestbook <<!-- BEGIN CBOX - www.cbox.ws - v001 -->
<br />
<div id="cboxdiv" style="line-height: 0; text-align: center;">
<div>
<iframe allowtransparency="yes" frameborder="0" height="305" id="cboxmain7-658835" marginheight="2" marginwidth="2" name="cboxmain7-658835" scrolling="auto" src="http://www7.cbox.ws/box/?boxid=658835&boxtag=g65k6w&sec=main" style="border: #ababab 1px solid;" width="300"></iframe></div>
<div>
<iframe allowtransparency="yes" frameborder="0" height="100"...