i have just added 2 new buttons to my forums. The one button works fine.. the other button makes all my menu buttons slide to the right of the forums.
these are my 2 new buttons:
//teamstats
echo '
<a href="', $scripturl, '?action=aastats">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/stats.gif" alt="' . $txt[79] . '" style="margin: 2px 0;" border="0" />' : $txt[467]), '</a>', $context['menu_separator'];
//TS Stats
echo '
<a href="', $scripturl, '?action=tsstats">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/tsstats.gif" alt="' . $txt[79] . '" style="margin: 2px 0;" border="0" />' : $txt[467]), '</a>', $context['menu_separator'];
TeamStats [AA Stats] is what makes the menus move.
Note: Buttons DO NOT slide with Firefox browser. So far they slide with Safari, and Konqueror. .. not yet tested with IE or any other.
to see the forums please go to: www.jkl4life.com/redeyes/
if any other info is need please ask away! im getting desprate ::)
*****UPDATE * It was a code error in my own .php page the button was linking to.. had center tags around whole page AND in body tags.