|
i'mdon't Thành Viên Mới |
|
| | Tiêu đề: Cho mình xin code chatbox login sẳn của forum | |
| |
|
| | |
#2 Wed Oct 26, 2011 1:25 pm | |
Administrator Founder |    
|
|
|
| | Tiêu đề: Re: Cho mình xin code chatbox login sẳn của forum | |
| | | | | | Chủ đề: Cho mình xin code chatbox login sẳn của forum -------------------------------------------------- Đây là code chatbox ThangbinhClub đang dùng. - Code:
-
Shoutbox TBC...//var params = '?archives=1';var smilies_sid = '';//]]>* {margin: 0px;padding: 0;}html, body {overflow: hidden;}body {background-color: #ffffff;}function BUZZ!!!!!!!!!!!!!!!!!!(){ document.post.sent.value="BUZZ!!!!!!!!!!!!!!!!!!";document.post.message.focus();ajax_submit_chatbox(params);return false;}
$(document).ready(function(){ $('#BUZZ!!!!!!!!!!!!!!!!!!').click(function(){ $("div").vibrate({ frequency: 5000, spread: 5, duration: 600 }); }); }); function login_cb(){if(!connected){CB_disconnect();}setTimeout("login_cb()",1000);} <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td class="catBottom" height="30" nowrap="nowrap"><table border="0" width="100%"><tr><td nowrap="nowrap">[b][img]http://i744.photobucket.com/albums/xx83/taulai/niceblue/thmin12.gif[/img][size=9][color=blue] SHOUTBOX TBC... - XEM NỘI QUY Ở TRÊN.[/color][/size][/b]</td><td class="chatbox-options" valign="top"> [url=http://teenthangbinh.forumvi.com/javascript:void(0)][b]Refresh[/b][/url] | [url=http://teenthangbinh.forumvi.com//chatbox/index.forum?archives=1]Archives[/url] | [url=http://teenthangbinh.forumvi.com//chatbox/index.forum?archives]Without archives[/url] | [b]Auto refresh[/b] | [url=http://teenthangbinh.forumvi.com/javascript:void(0)][b]Đăng Nhập[/b]Thoát[/url] </td></tr></table></td></tr></table> [b]Away[/b]
[list] [*][color=#FA0000][b]@[/b][/color] [url=http://teenthangbinh.forumvi.com//u1][color=#FA0000][b]Administrator[/b][/color][/url] [/list]
<table cellpadding="0" cellspacing="0" width="100%"><tr><td class="catBottom"> <table class="chatfootertable" cellpadding="0" cellspacing="0" height="24" width="100%"><tr><td align="right" width="100%"><table style="line-height: 0px;" class="text-styles" border="0" cellpadding="0" cellspacing="2"><tr><td> [img(21,20)]http://2img.net/i/fa/subsilver/wysiwyg/bold.gif[/img]</td><td> [img(21,20)]http://2img.net/i/fa/subsilver/wysiwyg/italic.gif[/img]</td><td> [img(21,20)]http://2img.net/i/fa/subsilver/wysiwyg/underline.gif[/img]</td><td> [img(21,20)]http://2img.net/i/fa/subsilver/wysiwyg/strike.gif[/img]</td><td width="10"> </td><td> [img(21,16)]http://2img.net/i/fa/subsilver/wysiwyg/color.gif[/img][img(11,16)]http://2img.net/i/fa/subsilver/wysiwyg/menupop.gif[/img] [img(21,4)]http://2img.net/i/fa/subsilver/wysiwyg/clear.gif[/img]</td><td> [img(21,20)]http://2img.net/i/fa/subsilver/wysiwyg/smilie.gif[/img][img(11,20)]http://2img.net/i/fa/subsilver/wysiwyg/menupop.gif[/img]</td><td width="10"> </td><td> [img]http://www.teenthangbinh.forumvi.com/users/3213/16/64/92/smiles/2270249841.gif[/img]</td><td>[color=blue][b] Chat: [/b][/color] </td></tr></table></td></tr></table></td></tr></table>//function ajax_connect(params, mode){if ( params == '' || params == undefined ){params = '?achives=0';}if (window.XMLHttpRequest){var http_request = new XMLHttpRequest();}else if (window.ActiveXObject){var http_request = new ActiveXObject("Microsoft.XMLHTTP");}http_request.onreadystatechange = function(){if (http_request.readyState == 4 && http_request.status == 200){var parsed_text = http_request.responseText;if ( parsed_text ){if ( mode == 'connect' ){document.getElementById('chatbox_option_co').style.display = 'none';document.getElementById('chatbox_option_disco').style.display = '';document.getElementById('refresh_auto').checked = true;document.getElementById('chatbox_option_autorefresh').style.display = '';document.getElementById('chatbox_messenger_form').style.display = '';document.getElementById('chatbox_footer').style.display = 'block';connected = 1;number_of_refresh = 0;}else if ( mode == 'disconnect' ){document.getElementById('chatbox_option_co').style.display = '';document.getElementById('chatbox_option_disco').style.display = 'none';document.getElementById('chatbox_option_autorefresh').style.display = 'none';document.getElementById('chatbox_messenger_form').style.display = 'none';document.getElementById('chatbox_footer').style.display = 'none';connected = 0;}refresh_chatbox(params);}}};http_request.open('GET', '/chatbox/chatbox_actions.forum' params '&mode=' mode my_getcookie('mytid').substr(my_getcookie('mytid').indexOf('&tid='),37), true);http_request.send(null);}function CB_disconnect(){if ( connected ){ajax_connect('?archives=1', 'disconnect');clearInterval(refresh_interval);}else{ajax_connect('?archives=1', 'connect');try {refresh_interval = setInterval("refresh_chatbox('?archives=1');", 5000);} catch (err) {}}}if ( document.location.href.indexOf('chatbox', 1) == -1 ){$('#divcolor').css('display', 'none');$('#divsmilies').css('display', 'none');}var connected = true;var chatbox_updated = 1311915973;var chatbox_last_update = 1311915973;var template_color = '#000000';var refresh_interval;window.setTimeout("document.getElementById('chatbox').scrollTop = 999999; Init_pref();", 200);window.setTimeout("document.getElementById('chatbox').scrollTop = 999999;", 1000);if ( connected ){try {refresh_interval = setInterval("refresh_chatbox('?archives=1');", 5000);} catch (err) {}}else{try {refresh_chatbox('?archives=1');} catch (err) { }}//]]> |
| | | | |
Được sửa bởi Administrator ngày Thu May 23, 2013 12:38 am; sửa lần 1. |
| | |
#3 Wed May 22, 2013 12:20 pm | |
lamthuyvi Thành Viên Mới |
|
| | Tiêu đề: Re: Cho mình xin code chatbox login sẳn của forum | |
| |
|
| | |
#4 Thu May 23, 2013 12:11 am | |
Administrator Founder |    
|
|
|
| | Tiêu đề: Re: Cho mình xin code chatbox login sẳn của forum | |
| |
|
| | |
Trang 1 trong tổng số 1 trang | | | Permissions in this forum: | Bạn không có quyền trả lời bài viết
| | |
|
|
|
|
|