Re: How can I make this button a link?

Started by Bobby_Boulders, October 01, 2017, 10:59:15 AM

Previous topic - Next topic

Bobby_Boulders

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.

Sir Osis of Liver

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'],
),


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters


Advertisement: