The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Chatbox v2.0 Chrome problem

View previous topic View next topic Go down

Solved Chatbox v2.0 Chrome problem

Post by Dachone on February 5th 2012, 2:02 am

I have a problem which is very annoying. When I open the chat it's all great, but when i minimize him and want to open him again it wont open where it should be. Our members who use Google Chrome, also have this problem and others don't. See the pictures and help please!
How it looks when I first open chat:

How it is when I re-open it:

Dachone
Forumember

Male Posts : 52
Reputation : 1
Language : Serbian
Location : Venice Beach, CA

http://www.nba-serbia.net

Back to top Go down

Solved Re: Chatbox v2.0 Chrome problem

Post by ProphecyCSS on February 5th 2012, 2:10 am

Have this been a problem on other web browsers? like mozilla opera...etc?

ProphecyCSS
Forumember

Posts : 97
Reputation : 7
Language : English

Back to top Go down

Solved Re: Chatbox v2.0 Chrome problem

Post by Dachone on February 5th 2012, 2:13 am

No. Only Chrome users. Personally, I am willing to change to Opera, but we have many Chrome users. We use our chat a lot so this is kinda like big issue.

Dachone
Forumember

Male Posts : 52
Reputation : 1
Language : Serbian
Location : Venice Beach, CA

http://www.nba-serbia.net

Back to top Go down

Solved Re: Chatbox v2.0 Chrome problem

Post by Dachone on February 5th 2012, 2:27 am

I don't have that line in my code. Sad We installed this version 2 of chatbox just few hours ago.
Here is my html code
Code:
var cb_new=1;


jQuery(document).ready(function(){

jQuery('body').append('<span id="cbalarm"></span>');

});

jQuery('body').append('<div style="border-top: 7px solid  COLORHERE;border-left: 7px solid COLORHERE; 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: COLORHERE; 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: 0px;"  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\');"><img src="http://www.dodaj.rs/f/31/G6/3vR1Btz0/chatboxxx.png"><span id="chat2"></span></div><iframe src="/chatbox/index.forum" id="chatbox_ret" name="chatbox_ret" scrolling="no" marginwidth="0" marginheight="0" frameborder: 10px #000000  style="width: 845px; height: 300px; 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)?'Nova poruka - NBAS Chatbox':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;}}

Dachone
Forumember

Male Posts : 52
Reputation : 1
Language : Serbian
Location : Venice Beach, CA

http://www.nba-serbia.net

Back to top Go down

Solved Re: Chatbox v2.0 Chrome problem

Post by ProphecyCSS on February 5th 2012, 2:30 am

Try redoing the chatbox

ProphecyCSS
Forumember

Posts : 97
Reputation : 7
Language : English

Back to top Go down

Solved Re: Chatbox v2.0 Chrome problem

Post by Dachone on February 5th 2012, 3:02 am

I would love not to do that if it's possible. Smile

Dachone
Forumember

Male Posts : 52
Reputation : 1
Language : Serbian
Location : Venice Beach, CA

http://www.nba-serbia.net

Back to top Go down

Solved Re: Chatbox v2.0 Chrome problem

Post by Dachone on February 5th 2012, 3:22 am

Ok, thanks. Looking forward to v3 Smile Can I ask some other questions here or I must open other topics? Two quick questions, I don't think they are hard to answer. Very Happy

Dachone
Forumember

Male Posts : 52
Reputation : 1
Language : Serbian
Location : Venice Beach, CA

http://www.nba-serbia.net

Back to top Go down

Solved Re: Chatbox v2.0 Chrome problem

Post by Dachone on February 6th 2012, 3:09 pm

problem solved

Dachone
Forumember

Male Posts : 52
Reputation : 1
Language : Serbian
Location : Venice Beach, CA

http://www.nba-serbia.net

Back to top Go down

Solved Re: Chatbox v2.0 Chrome problem

Post by SLGray on February 6th 2012, 4:56 pm

@Dachone wrote:problem solved

Topic Solved & Locked




When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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