MyBB Community Forums

Full Version: how to add this code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how can i add this script

<div style="width:200px;height:20px;border:1px solid blue;">
<a href="#" onclick="MyBB.popupWindow('http://www.facebook.com/presence/popout.php', 'facebook chat', 600, 600);">Facebook Chat</a>
</div>

into this

<td class="thead" align="center" width="100"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}
6/icons/game.gif" alt="Facebook" title="Facebook" /><strong><a href="{$mybb->settings['bburl']}/games.php">Facebook Chat</a></strong></td>

im wanting it to give me a button like theses
[Image: 48346209.jpg]


much appreciated thanks
Depends on where the menu laid. But you can try to find it in your header template.
i mean how can i make the top script into the bottom script
Based on your script:

<td class="thead" align="center" width="100"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}
6/icons/game.gif" alt="Facebook" title="Facebook" /><strong><a href="#" onclick="MyBB.popupWindow('http://www.facebook.com/presence/popout.php', 'facebook chat', 600, 600);">Facebook Chat</a></strong></td>
respect mate it worked rep coming your way