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 Thu Sep 29, 2011 6:36 am

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 Thu Sep 29, 2011 10:35 am

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 : 2262
Reputation : 259
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Pop-Out Chatbox?

Post by MinatoRain on Thu Sep 29, 2011 7:52 pm

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 Thu Sep 29, 2011 8:36 pm

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

LGforum
Hyperactive

Male Posts : 2262
Reputation : 259
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Pop-Out Chatbox?

Post by MinatoRain on Thu Sep 29, 2011 8:58 pm

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 Mon Oct 03, 2011 2: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 Mon Oct 03, 2011 5:54 am

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