Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Adding a Chatbox to my site? (http://www.mysidiaadoptables.com/forum/showthread.php?t=4952)

SapphirePhoenix 12-25-2015 12:15 AM

Adding a Chatbox to my site?
 
I'm trying to add this:

Code:

<script type="text/javascript" src="//www4.smartchatbox.com/shoutbox/start.php?key=705821669"></script>
To the left-bottom part of my site and I want it to be able to be viewed at all times.

How and where can I add this?

Kyttias 12-25-2015 11:10 AM

Basically, what their script does is load an iframe wherever you put the code. If you want it on every page, it should be placed in your theme's template. Their shoutboxes are about 220px wide. So... create a div exactly that wide and position it on the page with css or inline styling. Be sure that wherever you position your div at it won't cover up the ability to log in to your site!

So something like:
Code:

<div style='width: 220px; position: absolute; bottom: 0; left: 0px'>
<script type="text/javascript" src="//www4.smartchatbox.com/shoutbox/start.php?key=705821669"></script>
</div>

If you understand absolute/fixed positioning with css it'll help a lot.

SapphirePhoenix 12-25-2015 03:17 PM

Thank you Kyttias!


All times are GMT -5. The time now is 05:58 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.