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.

Pop-Out Chatbox?

2 posters

Go down

Pop-Out Chatbox? Empty Pop-Out Chatbox?

Post by MinatoRain September 29th 2011, 2:36 pm

Well I follow this tutorial; https://help.forumotion.com/t88458-how-to-create-a-pop-out-chat-box

It works and all, but there is a little bug. After I close the pop-out Chatbox and reopen it, you can only see the side of the chatbox (left side).

Any ideas?

Please move this topic, if in the wrong section.
MinatoRain
MinatoRain
Forumember

Male Posts : 29
Reputation : 1
Language : English
Location : USA, Colorado

Back to top Go down

Pop-Out Chatbox? Empty Re: Pop-Out Chatbox?

Post by LGforum September 29th 2011, 6:35 pm

That to be honest is a daft tutorial for a chatbox.

Do this:

put this in a widget:
Code:

<script>
function showhide(elementname) {var displayed=document.getElementById(elementname).style.display;
if (displayed == 'none') { document.getElementById(elementname).style.display='block' }
if (displayed == 'block') { document.getElementById(elementname).style.display='none' }}
</script>

<div id="popupchat" style="display: none;">
<iframe src="/chatbox/index.forum" height="500px" width="600px"></iframe>
</div>
<div id="chatlink">
<a onclick="showhide('popupchat');">ADD AN IMAGE OR SOMETHING HERE</a></div>

Then put this in your CSS:
Code:

#popupchat {
position: fixed;
bottom: 1px;
right: 30px;
}
#chatlink {
position: fixed;
bottom: 1px;
right: 30px;
}
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Pop-Out Chatbox? Empty Re: Pop-Out Chatbox?

Post by MinatoRain September 30th 2011, 3:52 am

Well that works, but I like the other one.
MinatoRain
MinatoRain
Forumember

Male Posts : 29
Reputation : 1
Language : English
Location : USA, Colorado

Back to top Go down

Pop-Out Chatbox? Empty Re: Pop-Out Chatbox?

Post by LGforum September 30th 2011, 4:36 am

The method i have given you can be styled and Animated just like the other one Wink
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Pop-Out Chatbox? Empty Re: Pop-Out Chatbox?

Post by MinatoRain September 30th 2011, 4:58 am

Here ya go, sir;

Pop-Out Chatbox? 20r1kds
MinatoRain
MinatoRain
Forumember

Male Posts : 29
Reputation : 1
Language : English
Location : USA, Colorado

Back to top Go down

Pop-Out Chatbox? Empty Re: Pop-Out Chatbox?

Post by MinatoRain October 3rd 2011, 10:31 am

Thanks, but here's a little info.

I think it's just Google Chrome that does that, I tested on IE and Firefox (which works perfectly).
MinatoRain
MinatoRain
Forumember

Male Posts : 29
Reputation : 1
Language : English
Location : USA, Colorado

Back to top Go down

Pop-Out Chatbox? Empty Re: Pop-Out Chatbox?

Post by MinatoRain October 3rd 2011, 1:54 pm

Not yet, I haven't be able to 'cause I'm busy with other stuff. But I will try once I get home from school today. Again thanks.
MinatoRain
MinatoRain
Forumember

Male Posts : 29
Reputation : 1
Language : English
Location : USA, Colorado

Back to top Go down

Back to top


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