Chatbox v2.0
+3
ProphecyCSS
PorkyPine V10
Jessica C
7 posters
Page 1 of 1
Chatbox v2.0
I've followed the directions here but the chatbox is not showing up at all. I've added the HTML page, added the forum widget, pasted code in the CSS stylesheet...pretty much did everything but it's not working I don't know what I did wrong.
Jessica C- Forumember
- Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania
Re: Chatbox v2.0
Yes.
Jessica C- Forumember
- Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania
Re: Chatbox v2.0
did u put the html in a widget? this
- Code:
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="PASTE HTML PAGE URL HERE" type="text/javascript"></script>
Re: Chatbox v2.0
yes. I told you I did everything in the directions
Jessica C- Forumember
- Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania
Re: Chatbox v2.0
hmm, then i dont know, u probably did something wrong, bcuz i just did it and it worked fine
Re: Chatbox v2.0
if you go to the HTML page I created: http://www.virtualkid.org/h1-chatbox
I just get a page with the code I pasted. I reckon it's something to do with that.
I just get a page with the code I pasted. I reckon it's something to do with that.
Jessica C- Forumember
- Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania
Re: Chatbox v2.0
okay...
can someone else help me please??
can someone else help me please??
Jessica C- Forumember
- Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania
Re: Chatbox v2.0
bump. still having trouble
Jessica C- Forumember
- Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania
Re: Chatbox v2.0
problem could be did you add your head tags
ex. <head></head>
ex. <head></head>
ProphecyCSS- Forumember
- Posts : 97
Reputation : 7
Language : English
Re: Chatbox v2.0
nope I didn't...I added them and it still hasn't appeared. I went to that HTML page I created and I just get a blank page now
Jessica C- Forumember
- Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania
Same Problem
Yeah, im having the same problem. Also is there anyway to move it to the top right hand corner instead of the bottom right corner? I have a toolbar and im worried that users wont see it.
Re: Chatbox v2.0
Anony-psychology wrote:you put your colors in hmtl page ? (COLOREHERE)
Yes, I think I added something like this:
-- I added this to my HTML Management
- Code:
var cb_new=1;
var cbmp3='http://bit.ly/rupblD';
jQuery(document).ready(function(){
jQuery('body').append('<span id="cbalarm"></span>');
});
jQuery('body').append('<div style="border-top: border: 1px solid #FF0000;
box-shadow: 0px 0px 20px #FF0000; border-left: border: 1px solid #FF0000;
box-shadow: 0px 0px 20px #FF0000; border-radius: 20px 0 0 0; z-index: 10000; -moz-border-radius: 20px 0 0 0; -webkit-border-radius: 20px 0 0 0; background-color: #000000; position: fixed; bottom: 0px; right: 0px;" onMousever="stopINT()" onClick="stopINT()" onClick="stopINT()" onMouseOut="stopINT()" id="chatbox_ret_cont"><div style="font-size: 12px; font-family: \'trebuchet ms\', serif; cursor: pointer; padding: 3px;" onClick="(document.getElementById(\'chatbox_ret\').style.display==\'block\')?my_setcookie(\'chatbox_ret\',\'0\',0,0):my_setcookie(\'chatbox_ret\',\'1\',0,0); jQuery(\'#chatbox_ret\').toggle(\'normal\');"><span style="color:white" id="chat1">ChatBox</span><span id="chat2"></span></div><iframe src="/chatbox/index.forum" id="chatbox_ret" name="chatbox_ret" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" style="width: 740px; height: 400px; display: none;" onLoad="if(cb_new) { cb_start(); cb_new=0; }"></iframe></div>')
if(parseInt(my_getcookie('chatbox_ret'))==1) document.getElementById('chatbox_ret').style.display='block';
if(!document.getElementById('i_icon_mini_login')){var oldCCB;var oldDCB;var pageTitle=document.title; var INTCB;function stopINT(){ if(INTCB!=undefined){clearInterval(INTCB);document.title=pageTitle;} return true;} function checkCB(){ if(parent.chatbox_ret.connected){ if(parent.chatbox_ret.document.getElementById('chatbox_members').childNodes.length==2) { if(parent.chatbox_ret.document.getElementById('chatbox_members').childNodes[0].className=='member-title away') { document.getElementById('chat1').innerHTML="Chat";document.getElementById('chat2').innerHTML="Box"; } else { document.getElementById('chat2').innerHTML="Box";document.getElementById('chat1').innerHTML="Chat"; } } else if(parent.chatbox_ret.document.getElementById('chatbox_members').childNodes.length>2) { document.getElementById('chatbox_ret_online').innerHTML=parent.chatbox_ret.document.getElementById('chatbox_members').childNodes[1].childNodes.length;document.getElementById('chatbox_ret_offline').innerHTML=parent.chatbox_ret.document.getElementById('chatbox_members').childNodes[5].childNodes.length; }
parent.chatbox_ret.document.getElementById('refresh_auto').checked=true; var newDCB= parent.chatbox_ret.document.getElementById('chatbox').childNodes[ parent.chatbox_ret.document.getElementById('chatbox').childNodes.length-1].firstChild.innerHTML; if(newDCB!=oldDCB){oldDCB=newDCB;var newCCB= parent.chatbox_ret.document.getElementById('chatbox').childNodes[ parent.chatbox_ret.document.getElementById('chatbox').childNodes.length-1].childNodes[2].innerHTML; stopINT();if(newCCB!=oldCCB){ oldCCB=newCCB; jQuery('#cbalarm').html('<object id="cbalarm" type="application/x-shockwave-flash" data="http://tinyurl.com/minidew-fa" width="0" height="0" style="visibility:hidden"><param name="movie" value="http://tinyurl.com/minidew-fa" /><param name="flashvars" value="mp3='+cbmp3+'&autoplay=1" /></object>');INTCB=setInterval("document.title=(document.title==pageTitle)?'!!! New Message !!!':pageTitle;",500); setTimeout('stopINT()',300000);}}}else { stopINT();}} function cb_start() { if(parent.chatbox_ret.connected) { oldDCB= parent.chatbox_ret.document.getElementById('chatbox').childNodes[ parent.chatbox_ret.document.getElementById('chatbox').childNodes.length-1].firstChild.innerHTML;oldCCB= parent.chatbox_ret.document.getElementById('chatbox').childNodes[ parent.chatbox_ret.document.getElementById('chatbox').childNodes.length-1].childNodes[2].innerHTML; } else { oldDCB=''; oldCCB=''; } setInterval('checkCB()',1000); parent.chatbox_ret.onfocus= parent.chatbox_ret.onkeypress= parent.chatbox_ret.onclick= parent.chatbox_ret.onblur=stopINT;}}
-- For my in my widget management
- Code:
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://xdirect12345.forumotion.com/h2-chatbox" type="text/javascript"></script>
-- I pasted this in my css stylesheet
- Code:
.resize_process img.resize_img {
display: inline;
}
Will it work if a wibiya toolbar is displayed? Is there anyway to display it on the top right corner?
Re: Chatbox v2.0
Ehhh -_-, doesnt look good, still has a few glitches, i'll just make a different popup chat.
Re: Chatbox v2.0
Okay turns out you can make a popup window of the chat and put the code in a forum widget.
Re: Chatbox v2.0
Anony-psychology wrote:delete all codes and start again becarefully!
did that. still won't work.
Jessica C- Forumember
- Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania
Jessica C- Forumember
- Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania
Re: Chatbox v2.0
I had the exact same issue the other day there when I was creating the add on for virtual kid Jessica, I tried to make the pop up chat and it neverr worked
Derri- Helper
- Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom
Re: Chatbox v2.0
XDirect12345 wrote:-- For my in my widget management
- Code:
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://xdirect12345.forumotion.com/h2-chatbox" type="text/javascript"></script>
This could be where you went wrong:
The widget code should be this:
<script src="http://xdirect12345.forumotion.com/h2-chatbox" type="text/javascript"></script>
(Just this.)
Re: Chatbox v2.0
so this should be removed?
I hope that'll make it work..
EDIT: still doesn't work.
- Code:
<script src="http://code.jquery.com/jquery-latest.js"></script>
I hope that'll make it work..
EDIT: still doesn't work.
Jessica C- Forumember
- Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum