Quote from: Sir Osis of LiverĀ on May 18, 2017, 05:05:00 PM
<a href="http://.................."><button type="button" name="" value="" class="css3button">Message Board Forums & Chat</button></a>
I have been looking throughout the forum to add a navigation button once clicked it would open a hosted chat window. not sure where the script goes either.
Will this create a menu / navigation button and open into a new popup window also.
Thank you in advance for any help or advise given.
If you want to add the button to the main menu, the button array is in Subs.php, look for 'all the buttons'. This code opens a popup window containing a file uploader -
'uploader' => array(
'title' => 'Uploader',
'href' => 'javascript:window.open(\'http://www.domain.com/forum/upload.htm\',\'popup_uploader\',\'height=460,width=620,top=120,left=200,scrollbars=yes\');void(0);',
'show' => !$user_info['is_guest'],
'sub_buttons' => array(
),
'is_last' => !$context['right_to_left'],
),
Thank you so much