Floating chat on page

1

Basically, I would like a floating chat on the page like this:

The chatbox code is:

<script style="width: 170px;height: 276px;" src="//st.chatango.com/js/gz/emb.js" async="" data-cfasync="false" id="cid0020000093941551878">{"handle":"bloodypalacerpg","arch":"js","styles":{"a":"CC0000","b":100,"c":"FFFFFF","d":"FFFFFF","k":"CC0000","l":"CC0000","m":"CC0000","n":"FFFFFF","p":"11.25","q":"CC0000","r":100,"usricon":1.3,"cnrs":"0.89","fwtickm":1}}</script>

How I wish:

Thank you in advance.

    
asked by anonymous 26.08.2015 / 14:49

2 answers

0

You can solve this using CSS. With position:fixed; So it always stays visible, even rolling the screen.

    
26.08.2015 / 15:54
0

Use position: absolute .

#chat{
   width: 300px;
   height: 300px;
   position: absolute;
   right: 20px;
   bottom: 20px;
}
    
26.08.2015 / 15:06