Kali ini saya akan berbagi cara membuat Chat Box dengan aplikasi CBOX...
Chat Box atau Guest Box atau sebagainya adalah fasilitas untuk kita chatting dengan teman di dunia maya atau dengan teman Blogger khususnya. Manfaat lainya adalah agar alamat Blogspot kita dapat diketahui teman blogger dapat menyebar atau bahkan terkenal. Lumayan, buat bantu-bantu agar blogspot kita rame..di kunjungi para blogger,..dan,.lihat tempale blog gue,.bro,.mirip banget deh ama fitur facebook,...tempat chatbox-nya aja hampir mirip ama chatbox blog gue,..gimana bro,..berminat ingin pasang juga chatbox-nya,...nich,.tutornya gue kasih,..
(function() {var s=document.createElement("script"); s.async=true;
s.src="http://widgets.amung.us/small.js";
document.getElementsByTagName("head")[0].appendChild(s);
})();</script></div>
<div id="cboxbutton" style="position:fixed;color:rgb(50,50,50);bottom:0px;right:20px;width:182px;height:20px; text-align: left; cursor: pointer; background:rgb(235, 238, 244) url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFU_asp1zpggxXjgcWCeHMMgW4oslnX8UsLJSOxr2eHG6nh2897F4u7tATAx1p_zF3RVACzLbjphnQc24fFTTHRNZE2MHmNVIVlprrGSwcOWkkdIoBHHqzB0xQlz7L6ny6C8ZnhHjr3Q/s320/gambaronlineputih.png)no-repeat;padding:2px 3px 0px 22px;border:1px solid rgba(29, 49, 91, 0.3);border-bottom:none;font-family: Tahoma, sans-serif; font-weight:bold;" onclick="togglecbox()">Obrolan</div>
<div id="cboxdiv" style="display: none; position: fixed; bottom: 25px; right: 20px; width: 200px; background: rgb(235, 238, 244) url(https://s-static.ak.facebook.com/rsrc.php/v2/yb/r/GsNJNwuI-UM.gif) no-repeat 50% 50%;padding: 3px; line-height: 0;border:2px solid rgba(29, 49, 91, 0.3);"></div>
<script type="text/javascript">
var cbvis = false;
var cbload = false;
var cbcookie = "cboxvis=";
function togglecbox () {
var cbdiv = document.getElementById("cboxdiv");
var cbbut = document.getElementById("cboxbutton");
if (!cbvis) {
if (!cbload) {
cbdiv.innerHTML = '<iframe frameborder="0" width="200" height="305" src="http://www5.cbox.ws/box/?boxid=695235&boxtag=q15t6b&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain5-695235" style="border:#ababab 1px solid;border-bottom:0px" id="cboxmain5-695235"></iframe><iframe frameborder="0" width="200" height="75" src="http://www5.cbox.ws/box/?boxid=695235&boxtag=q15t6b&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform5-695235" style="border:#ababab 1px solid;border-top:0px" id="cboxform5-695235"></iframe>';
cbload = true;
}
cbdiv.style.display = "block";
cbbut.innerHTML = "Obrolan";
}
else {
cbdiv.style.display = "none";
cbbut.innerHTML = "Obrolan";
}
cbvis = !cbvis;
document.cookie = cbcookie+((cbvis)?1:0);
}
// Toggle Cbox open if it was previously
var cbcookiei = document.cookie.indexOf(cbcookie);
if (cbcookiei >= 0) {
if (document.cookie.substring(cbcookiei+cbcookie.length, cbcookiei+cbcookie.length+1) === "1") {
togglecbox();
}
}
</script>
Chat Box atau Guest Box atau sebagainya adalah fasilitas untuk kita chatting dengan teman di dunia maya atau dengan teman Blogger khususnya. Manfaat lainya adalah agar alamat Blogspot kita dapat diketahui teman blogger dapat menyebar atau bahkan terkenal. Lumayan, buat bantu-bantu agar blogspot kita rame..di kunjungi para blogger,..dan,.lihat tempale blog gue,.bro,.mirip banget deh ama fitur facebook,...tempat chatbox-nya aja hampir mirip ama chatbox blog gue,..gimana bro,..berminat ingin pasang juga chatbox-nya,...nich,.tutornya gue kasih,..
- login akun blog anda
- klik TATA LETAK / LAYOUT
- klik TAMBAH GADGET
- klik HTML/JAVASCRIPT
- Copas kodenya di bawah,...
(function() {var s=document.createElement("script"); s.async=true;
s.src="http://widgets.amung.us/small.js";
document.getElementsByTagName("head")[0].appendChild(s);
})();</script></div>
<div id="cboxbutton" style="position:fixed;color:rgb(50,50,50);bottom:0px;right:20px;width:182px;height:20px; text-align: left; cursor: pointer; background:rgb(235, 238, 244) url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFU_asp1zpggxXjgcWCeHMMgW4oslnX8UsLJSOxr2eHG6nh2897F4u7tATAx1p_zF3RVACzLbjphnQc24fFTTHRNZE2MHmNVIVlprrGSwcOWkkdIoBHHqzB0xQlz7L6ny6C8ZnhHjr3Q/s320/gambaronlineputih.png)no-repeat;padding:2px 3px 0px 22px;border:1px solid rgba(29, 49, 91, 0.3);border-bottom:none;font-family: Tahoma, sans-serif; font-weight:bold;" onclick="togglecbox()">Obrolan</div>
<div id="cboxdiv" style="display: none; position: fixed; bottom: 25px; right: 20px; width: 200px; background: rgb(235, 238, 244) url(https://s-static.ak.facebook.com/rsrc.php/v2/yb/r/GsNJNwuI-UM.gif) no-repeat 50% 50%;padding: 3px; line-height: 0;border:2px solid rgba(29, 49, 91, 0.3);"></div>
<script type="text/javascript">
var cbvis = false;
var cbload = false;
var cbcookie = "cboxvis=";
function togglecbox () {
var cbdiv = document.getElementById("cboxdiv");
var cbbut = document.getElementById("cboxbutton");
if (!cbvis) {
if (!cbload) {
cbdiv.innerHTML = '<iframe frameborder="0" width="200" height="305" src="http://www5.cbox.ws/box/?boxid=695235&boxtag=q15t6b&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain5-695235" style="border:#ababab 1px solid;border-bottom:0px" id="cboxmain5-695235"></iframe><iframe frameborder="0" width="200" height="75" src="http://www5.cbox.ws/box/?boxid=695235&boxtag=q15t6b&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform5-695235" style="border:#ababab 1px solid;border-top:0px" id="cboxform5-695235"></iframe>';
cbload = true;
}
cbdiv.style.display = "block";
cbbut.innerHTML = "Obrolan";
}
else {
cbdiv.style.display = "none";
cbbut.innerHTML = "Obrolan";
}
cbvis = !cbvis;
document.cookie = cbcookie+((cbvis)?1:0);
}
// Toggle Cbox open if it was previously
var cbcookiei = document.cookie.indexOf(cbcookie);
if (cbcookiei >= 0) {
if (document.cookie.substring(cbcookiei+cbcookie.length, cbcookiei+cbcookie.length+1) === "1") {
togglecbox();
}
}
</script>
- klik SIMPAN / SAVE,...
Like the Post? Share with your Friends:-
0 komentar:
POST A COMMENT