source code for the chatbox

Go down

source code for the chatbox

Post  Jrokk on Sun May 16, 2010 9:19 pm

if you wanted the code for the chatbox to make your own here you go.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><title>Chatbox</title><meta http-equiv="content-script-type" content="text/javascript" /><meta http-equiv="content-style-type" content="text/css" /><link rel="stylesheet" href="/16-ltr.css" type="text/css" /><script src="http://illiweb.com/fa/js_16/en.js" type="text/javascript"></script><script type="text/javascript">var params = '?archives=0&sid=8a8144229fcf7f30503dbd6a049d3227';var smilies_sid = '';</script><script src="http://illiweb.com/fa/js/chatbox3.js" type="text/javascript"></script><style type="text/css">* {margin: 0; padding: 0;}html, body {overflow: hidden;}body {padding: 0;margin: 0;background-color: #171717;}</style></head><body class="chatbox"><div id="chatbox_header" class="forabg clearfix"><h2 class="chatbox-title"><a href="/chatbox/chatbox.forum?sid=8a8144229fcf7f30503dbd6a049d3227" target="chatbox" class="chat-title">Chatbox</a></h2><ul class="chatbox-options" id="chatbox_main_options"><li><a href="javascript:void(0)" onclick="ajax_refresh_chatbox('?archives=0&sid=8a8144229fcf7f30503dbd6a049d3227', 1);">Refresh</a>&nbsp;|&nbsp;</li><li id="chatbox_option_with_archives" style="display: ;"><a href="/chatbox/chatbox.forum?archives=1&amp;sid=8a8144229fcf7f30503dbd6a049d3227">Archives</a>&nbsp;|&nbsp;</li><li id="chatbox_option_without_archives" style="display: none;"><a href="/chatbox/chatbox.forum?archives=0&amp;sid=8a8144229fcf7f30503dbd6a049d3227">Without archives</a>&nbsp;|&nbsp;</li><li id="chatbox_option_autorefresh" style="display: ;" onclick="refresh_chatbox('?archives=0&sid=8a8144229fcf7f30503dbd6a049d3227');"><label>Auto refresh&nbsp;<input type="checkbox" name="refresh_auto" id="refresh_auto" checked="checked" style="background: transparent;" /></label>&nbsp;|&nbsp;</li><li><a href="javascript:void(0)" onclick="CB_disconnect();"><span id="chatbox_option_co" style="display: none;"><strong>Log in</strong></span><span id="chatbox_option_disco" style="display: ;">Log out</span></a>&nbsp;&nbsp;</li></ul></div><div id="chatbox_members" class="chatbox-members"><h4 class="member-title online">Online</h4><ul class="online-users"><li><a href="/profile.forum?mode=viewprofile&amp;u=10&amp;sid=8a8144229fcf7f30503dbd6a049d3227" oncontextmenu="return showMenu(10,'Jrokk',10,0,2,0,2,event,'?archives=0&sid=8a8144229fcf7f30503dbd6a049d3227');" onclick="return copy_user_name('Jrokk');" target="_blank"><span style="color:#8B33FF"><strong>Jrokk</strong></span></a></li></ul></div><div id="chatbox"><p class="chatbox_row_1 clearfix"><span class="date-and-time" title="17 May 2010">[03:16:48]</span> <span class="user"></span> <span class="msg"><span style="color:green;"><strong>Jrokk has joined the chat on Mon May 17, 2010 3:16 am</strong></span></span></p></div><div id="chatbox_footer" class="forabg" style="display: ;"><form name="post" action="/chatbox/chatbox.forum" method="post" onsubmit="submitmsg('?archives=0&sid=8a8144229fcf7f30503dbd6a049d3227');refresh_chatbox('?archives=0&sid=8a8144229fcf7f30503dbd6a049d3227');return false;"><div id="chatbox_messenger_form"><div class="right-box style-buttons"><input type="hidden" name="sbold" value="0" /><input type="hidden" name="sitalic" value="0" /><input type="hidden" name="sunderline" value="0" /><input type="hidden" name="sstrike" value="0" /><input type="hidden" name="scolor" id="scolor" value="#ffffff" /><div class="text-field" onclick="document.post.message.focus();"><label>Message : <input type="text" id="message" name="message" size="35" maxlength="1024" class="post" autocomplete="off" onkeydown="number_of_refresh=0;" /></label>&nbsp;<input type="hidden" name="sent" value="" /><input type="submit" name="submit_button" value="Send" id="submit_button" />&nbsp;</div></div><div class="right-box"><div id="divbold" class="fontbutton fontbutton_normal" onmouseover="this.className='fontbutton fontbutton_hover'" onmouseout="this.className=( document.post.sbold.value == '1' ) ? 'fontbutton fontbutton_selected' : 'fontbutton fontbutton_normal'" onclick="do_style('bold');" onmousedown="this.className='fontbutton fontbutton_clicked';" onmouseup="this.className=( document.post.sbold.value != '1' ) ? 'fontbutton fontbutton_selected' : 'fontbutton fontbutton_normal'"><img src="http://illiweb.com/fa/subsilver/wysiwyg/bold.gif" width="21" height="20" alt="Bold" title="Bold" /></div><div id="divitalic" class="fontbutton" onmouseover="this.className='fontbutton fontbutton_hover'" onmouseout="this.className=( document.post.sitalic.value == '1' ) ? 'fontbutton fontbutton_selected' : 'fontbutton fontbutton_normal'" onclick="do_style('italic');" onmousedown="this.className='fontbutton fontbutton_clicked';" onmouseup="this.className=( document.post.sitalic.value != '1' ) ? 'fontbutton fontbutton_selected' : 'fontbutton fontbutton_normal'"><img src="http://illiweb.com/fa/subsilver/wysiwyg/italic.gif" width="21" height="20" alt="Ital." title="Ital." /></div><div id="divunderline" class="fontbutton" onmouseover="this.className='fontbutton fontbutton_hover'" onmouseout="this.className=( document.post.sunderline.value == '1' ) ? 'fontbutton fontbutton_selected' : 'fontbutton fontbutton_normal'" onclick="do_style('underline');" onmousedown="this.className='fontbutton fontbutton_clicked';" onmouseup="this.className=( document.post.sunderline.value != '1' ) ? 'fontbutton fontbutton_selected' : 'fontbutton fontbutton_normal'"><img src="http://illiweb.com/fa/subsilver/wysiwyg/underline.gif" width="21" height="20" alt="Underl." title="Underl." /></div><div id="divstrike" class="fontbutton" onmouseover="this.className='fontbutton fontbutton_hover'" onmouseout="this.className=( document.post.sstrike.value == '1' ) ? 'fontbutton fontbutton_selected' : 'fontbutton fontbutton_normal'" onclick="do_style('strike');" onmousedown="this.className='fontbutton fontbutton_clicked';" onmouseup="this.className=( document.post.sstrike.value != '1' ) ? 'fontbutton fontbutton_selected' : 'fontbutton fontbutton_normal'"><img src="http://illiweb.com/fa/subsilver/wysiwyg/strike.gif" width="21" height="20" alt="Strike" title="Strike" /></div><div id="divcolor" class="fontbutton" onmouseover="this.className='fontbutton fontbutton_hover'" onmouseout="this.className='fontbutton fontbutton_normal'" onclick="do_selectcolor(event);"><img src="http://illiweb.com/fa/subsilver/wysiwyg/color.gif" width="21" height="16" alt="Font color" title="Font color" /><img src="http://illiweb.com/fa/subsilver/wysiwyg/menupop.gif" width="11" height="16" alt="Font color" title="Font color" /><img src="http://illiweb.com/fa/subsilver/wysiwyg/clear.gif" id="show_color" alt="Font color" title="Font color" width="21" height="4" /></div><div id="divsmilies" class="fontbutton" onmouseover="this.className='fontbutton fontbutton_hover'" onmouseout="this.className='fontbutton fontbutton_normal'" onclick="do_selectsmilies(event);"><img src="http://illiweb.com/fa/subsilver/wysiwyg/smilie.gif" width="21" height="20" alt="Emoticons" title="Emoticons" /><img src="http://illiweb.com/fa/subsilver/wysiwyg/menupop.gif" width="11" height="20" alt="Emoticons" title="Emoticons" /></div></div></div></form></div><script type="text/javascript">//<![CDATA[
function CB_disconnect(){if ( connected ){ajax_connect('?archives=0&sid=8a8144229fcf7f30503dbd6a049d3227', 'disconnect');clearInterval(refresh_interval);}else{ajax_connect('?archives=0&sid=8a8144229fcf7f30503dbd6a049d3227', 'connect');try {refresh_interval = setInterval("refresh_chatbox('?archives=0&sid=8a8144229fcf7f30503dbd6a049d3227')", 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 = 1274066282;var chatbox_last_update = 1274066282;var template_color = '#ffffff';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=0&sid=8a8144229fcf7f30503dbd6a049d3227')", 5000);} catch (err) {}}else{try {refresh_chatbox('?archives=0&sid=8a8144229fcf7f30503dbd6a049d3227');} catch (err) {}}//]]></script></body></html>
avatar
Jrokk

Posts : 5
Join date : 2010-05-02

View user profile http://www.pyrozx.webs.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum