Chatbox Problems...
+4
SLGray
Sir Chivas™
Beyonder
J0k3R^
8 posters
Page 1 of 1
Chatbox Problems...
Hello everyone,
im facing some problems with my chat lately and i dont know what to do.
First of all, when i press inspect element on my forum, it appears these codes without having any chatbox there lol
Secondly, im trying to use some codes for a popup chatbox. it used to work but lately it doesnt. is it possible to getting "blocked" somehow from another js code?
the codes im using are these:
Thanks for your help
im facing some problems with my chat lately and i dont know what to do.
First of all, when i press inspect element on my forum, it appears these codes without having any chatbox there lol
Secondly, im trying to use some codes for a popup chatbox. it used to work but lately it doesnt. is it possible to getting "blocked" somehow from another js code?
the codes im using are these:
- Spoiler:
js- Code:
jQuery(document).ready(function(){
jQuery('body').append('<span id="chatButton">Συνομιλία</span><div id="chatBox"><iframe src="/chatbox/index.forum"></iframe></div>');
jQuery('#chatBox').hide();
jQuery('#chatButton').css('position', 'fixed').css('right', '0px').css('bottom', '0px');
jQuery('#chatBox iframe').css('position', 'fixed').css('right', '10px').css('bottom', '45px');
if(!document.getElementById('logout')){
jQuery('#chatButton').hide();
jQuery('#chatBox').hide();}
jQuery('#chatButton').click(function(){
jQuery('#chatBox').fadeToggle();
});
});
css- Code:
#chatButton{
box-shadow:0px 10px 6px rgba(255,255,255, 0.2) inset, 0px -10px 6px rgba(0,0,0, 0.2) inset;
padding:10px 20px 10px 20px;
background-color:#000000;
border:1px solid #146;
font-weight:bold;
font-size:10px;
z-index:999;
color:#fff;
}
#chatButton:hover{
cursor:pointer;
color:#ff0000;
background-color:#000000;
}
#chatBox iframe{
z-index:999;
border:none;
height:50%;
width:65%;
}
#chatButton{
bottom:20px !important;
}
#chatBox iframe{
bottom:60px !important;
}
Thanks for your help
Re: Chatbox Problems...
Hi,
Save all of the JavaScripts you have, and just place the chat-box's to see if other scripts are causing this problem.
Now, this is a edited theme (templates), correct?
Regards,
Sir Chivas.
Save all of the JavaScripts you have, and just place the chat-box's to see if other scripts are causing this problem.
Now, this is a edited theme (templates), correct?
Regards,
Sir Chivas.
Re: Chatbox Problems...
Yes. Remove them all and then add them back one by one.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Chatbox Problems...
First keep a save of them so you don't lose them and then remove them and leave only the chatbox to see if the js error. Then add them back one by one and check the chat if something changes.J0k3R^ wrote:i have a lot of javascripts.
u mean to disable one-by-one to see the problem?
Re: Chatbox Problems...
Try checking all of your javascript codes and figure out which one could affect the chatbox.
Re: Chatbox Problems...
Is it the same if i remove placement (e.g in all pages) instead of removing the codes?
Re: Chatbox Problems...
No, it's not the same, mate. I know sucks because you probably do have a lot of scripts, but we have to know which one is interfering with one another.
Re: Chatbox Problems...
Since this thread appears to be solved, this topic is moved.
Jophy- ForumGuru
- Posts : 17922
Reputation : 836
Language : English
Location : Somewhere
Similar topics
» Chatbox problems...
» Chatbox problems
» Chatbox problems
» Chatbox CSS problems
» Still chatbox problems
» Chatbox problems
» Chatbox problems
» Chatbox CSS problems
» Still chatbox problems
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum