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 Button

View previous topic View next topic Go down

Solved Chatbox Button

Post by runawayhorses on April 30th 2012, 7:31 pm

Is there a CSS code to add an image button to the chatbox link that is at the bottom of phpbb3 forums? Instead on the text link I want to replace it with a button. I'm talking about the default chatbox link not the FMchat. I'm not using FMchat.


Last edited by runawayhorses on April 30th 2012, 10:04 pm; edited 1 time in total

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Chatbox Button

Post by levy on April 30th 2012, 7:34 pm

You can post over here the code of chatbox ?

levy
Hyperactive

Male Posts : 2582
Reputation : 345
Language : Romanian, English
Location : criticize artwork, not people!

http://help.forumotion.com/

Back to top Go down

Solved Re: Chatbox Button

Post by Guest on April 30th 2012, 7:41 pm

Hi!

RicYiu, he said, he uses the default forumotion chatbox. Very Happy

runawayhorses, can you post a screenshot so we can understand your problem better? Thank you.

Guest
Guest


Back to top Go down

Solved Re: Chatbox Button

Post by runawayhorses on April 30th 2012, 7:57 pm

Ok here it is, I didn't highlight it but you see the word "Chatbox" near the bottom. That is a chatbox link that opens the chatbox in full screen mode. I have another button for the regular size chatbox and I coded it to open in a new popout window, requires no javascript. I requested to have it added as a tutorial but I havent heard back yet. If you want to try it out click my forum link and you'll see on the home page the chatbox button. Click that and it will open in a popout window. No javascript and its the same default chatbox. Smile

OK back to the topic at hand, there my screenshot:


runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Chatbox Button

Post by Guest on April 30th 2012, 8:57 pm

Oh, I see.

Add to Javascript codes management:
Code:
$(function(){
$('div.h3 a[href="/chatbox/index.forum?"]')replaceWith('<a href="chatbox/index.forum?" target="ChatBox"><img src="IMAGE_LINK" /></a>');
});
Replace IMAGE_LINK with the image link for your image. Wink

Guest
Guest


Back to top Go down

Solved Re: Chatbox Button

Post by runawayhorses on April 30th 2012, 10:04 pm

Thanks Coddy.. but I'm not going to add javascript, in fact I'm just going to leave that link a text link. thanks for your help.. Smile

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

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