The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Chatbox v2.0 Chrome problem

    Dachone
    Dachone
    Forumember


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

    Solved Chatbox v2.0 Chrome problem

    Post by Dachone 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:
    Chatbox v2.0 Chrome problem Untitled-3
    How it is when I re-open it:
    Chatbox v2.0 Chrome problem Untitled-2
    avatar
    ProphecyCSS
    Forumember


    Posts : 97
    Reputation : 7
    Language : English

    Solved Re: Chatbox v2.0 Chrome problem

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

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


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

    Solved Re: Chatbox v2.0 Chrome problem

    Post by Dachone 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
    Dachone
    Forumember


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

    Solved Re: Chatbox v2.0 Chrome problem

    Post by Dachone 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;}}
    avatar
    ProphecyCSS
    Forumember


    Posts : 97
    Reputation : 7
    Language : English

    Solved Re: Chatbox v2.0 Chrome problem

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

    Try redoing the chatbox
    Dachone
    Dachone
    Forumember


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

    Solved Re: Chatbox v2.0 Chrome problem

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

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


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

    Solved Re: Chatbox v2.0 Chrome problem

    Post by Dachone 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
    Dachone
    Forumember


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

    Solved Re: Chatbox v2.0 Chrome problem

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

    problem solved
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51499
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Chatbox v2.0 Chrome problem

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

    Dachone wrote:problem solved

    Topic Solved & Locked





    Chatbox v2.0 Chrome problem Slgray10

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

      Current date/time is September 23rd 2024, 8:30 am