Can't Change Chatbox Name
2 posters
Page 1 of 1
Can't Change Chatbox Name
So I've been trying to personalize my site's chatbox by changing the name of the chatbox; I the coding from https://help.forumotion.com/t139284-codes-to-personalize-your-chatbox to do it. I enabled Javascript coding and put the code in there, then pasted the same code in the CSS Stylesheet, but the name has not changed. Would appreciate help, thank you so much!
Re: Can't Change Chatbox Name
Can you paste here what you put in your CSS please?
Take Notes- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: Can't Change Chatbox Name
- Code:
$(window).load(function() {
var chatbox_script = function() {
$("a.chat-title").text("Pls Work");
};
var
s=document.createElement('script');s.text="("+chatbox_script.toString()+")();";$('object[data^="/chatbox/index.forum"],iframe[src^="/chatbox/index.forum"]').each(function(){try{$(this.contentDocument||this.contentWindow.document).find("#chatbox").closest("html").find("head").first().each(function(){this.appendChild(s.cloneNode(true))})}catch(a){}})
});
Here you go
Re: Can't Change Chatbox Name
Copy this:
- Code:
$(window).load(function() {
var chatbox_script = function() {
$("a.chat-title").text("In Da Place");
};
var
s=document.createElement('script');s.text="("+chatbox_script.toString()+")();";$('object[data^="/chatbox/index.forum"],iframe[src^="/chatbox/index.forum"]').each(function(){try{$(this.contentDocument||this.contentWindow.document).find("#chatbox").closest("html").find("head").first().each(function(){this.appendChild(s.cloneNode(true))})}catch(a){}})
});
Take Notes- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: Can't Change Chatbox Name
Nope, Invision. Does the JavaScript only work with BB3? And honestly the name I put was just because I got frustrated (Plz Work). I haven't decided on a chat box name, but I'm pretty sure I know how to change it at any rate, just can't figure out why the coding isn't working unfortunately ^^Leah7 wrote:To be sure, you're using phpBB3? What name are you wanting?
Mmkay I'll try this.Clashmune wrote:Copy this:You have added spaces.
- Code:
$(window).load(function() {
var chatbox_script = function() {
$("a.chat-title").text("In Da Place");
};
var
s=document.createElement('script');s.text="("+chatbox_script.toString()+")();";$('object[data^="/chatbox/index.forum"],iframe[src^="/chatbox/index.forum"]').each(function(){try{$(this.contentDocument||this.contentWindow.document).find("#chatbox").closest("html").find("head").first().each(function(){this.appendChild(s.cloneNode(true))})}catch(a){}})
});
Re: Can't Change Chatbox Name
I am not sure what happened to my code I sent but try both that and this in case a staff editted my post.
- Code:
$(window).load(function() {
var chatbox_script = function() {
$("a.chat-title").text("In Da Place");
};
var
s=document.createElement('script');s.text="("+chatbox_script.toString()+")();";$('object[data^="/chatbox/index.forum"],iframe[src^="/chatbox/index.forum"]').each(function(){try{$(this.contentDocument||this.contentWindow.document).find("#chatbox").closest("html").find("head").first().each(function(){this.appendChild(s.cloneNode(true))})}catch(a){}})
});
Take Notes- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Similar topics
» Change A Name in the Chatbox Only?
» change chatbox name
» How do I change the chatbox background?
» change a sentence in the chatbox
» How Can I change the "chatbox" to "shoutbox" ?
» change chatbox name
» How do I change the chatbox background?
» change a sentence in the chatbox
» How Can I change the "chatbox" to "shoutbox" ?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum