This tutorial credit to Wan Hazel sebab Lat'z guna Wan Hazel punya frame..(^.^) cuma penguin tu je Lat'z sendiri yang buat.
Lat'z buat tutorial ini atas pertanyaan atyn kecik
Pergi
Dashboard - Design - Add Gadget - HTML
Copy & paste kod HTML di bawah :
<div style='display:scroll; position:fixed; top:200px; right:10px;'>
<br />
<a href="javascript:void(0);"onclick="showHideAT()"/><img class= width="140" height="140"src="http://4.bp.blogspot.com/-XgM71yWl3Ck/TmEHnJrP7qI/AAAAAAAAAZg/RECVSNoMVT8/s1600/P2.png" alt="Shoutbox" title="Shoutbox" /></a>
</div>
<style type="text/css">
#at{
position:fixed;
top:0;
;
}
* html #at{position:relative;}
.attab{
height:100px;
width:30px;
float:center;
cursor:pointer;
background:url();
}
.atcontent{
float:left;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj50bWR8w8RDs2sfZK2F83GLxEJ__HN4rn8rvwgpX91jwtZMcmf0SaUsr1-Ym-54LTI1hCH2pnU9ixy8n4Rg-udT-IT1w8oq5ZFPZivWOa3liCBPWopudQKNyOXd8Yw8X3E4jWKS5-ZeVXf/s1600/wan+shout+frame1.png) no-repeat 0 0 transparent;
width:800px;
height:460px;center scroll ;
padding:56px 0 20px 5px;
}
</style>
<script type="text/javascript">
function showHideAT(){
var at = document.getElementById("at");
var w = at.offsetWidth;
at.opened ? moveAT(0, -200-w) : moveAT(20-w, 0);
at.opened = !at.opened;
}
function moveAT(x0, xf){
var at = document.getElementById("at");
var dx = Math.abs(x0-xf) > 25 ? 35 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
at.style.top = x.toString() + "px";
if(x0!=xf){setTimeout("moveAT("+x+", "+xf+")", 10);}
}
</script>
<div id="at">
<div class="attab" onclick="showHideAT()"> </div>
<div class="atcontent">
<div align="center">
<div style="background:url() no-repeat;">
<br /><br /><br />
PASTE KOD SHOUTMIX / CBOX ANDA DENGAN LEBAR 270 & KETINGGIAN 300
<center><div id="author"><a href="javascript:void(0);" onclick="showHideAT()"><input type="button" value="Close If Done" class="close" />
</a></div>
</center></div>
</div>
<script type="text/javascript">
var at = document.getElementById("at");
at.style.top = (-200-at.offsetWidth).toString() + "px";
</script></div></div>
- Warna PURPLE tu adalah url image icon shoutbox anda..macam Lat'z, gunakan penguin.. anda boleh ubah icon tu dan resizekan di bahagian "width" & "height "
- Yang warna MERAH adalah url image bagi frame shoutbox anda..anda boleh buat shoubox sendiri atau ambil dari photobucket ..search je shoutbox @ shout @ frame...
- Yang warna BIRU adalah kod Shoutmix @ CBox anda.
Selamat mencuba dan harap dapat membantu..(^.^)
Kepada atyn kecik diharapkan berpuas hati..
No comments:
Post a Comment