View Full Version : Adding a Chatbox to my site?
SapphirePhoenix
12-25-2015, 12:15 AM
I'm trying to add this:
<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:
<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!
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.