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.

Pop-Out Chatbox?

View previous topic View next topic Go down

Pop-Out Chatbox?

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

Well I follow this tutorial; http://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
Forumember

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

Back to top Go down

Re: Pop-Out Chatbox?

Post by LGforum on 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
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Pop-Out Chatbox?

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

Well that works, but I like the other one.

MinatoRain
Forumember

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

Back to top Go down

Re: Pop-Out Chatbox?

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

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

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Pop-Out Chatbox?

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

Here ya go, sir;


MinatoRain
Forumember

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

Back to top Go down

Re: Pop-Out Chatbox?

Post by MinatoRain on 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
Forumember

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

Back to top Go down

Re: Pop-Out Chatbox?

Post by MinatoRain on 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
Forumember

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

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