miniBB Support Forums | 16 years on The Web
miniBB ® 


 | Begin | Register | Reply | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /   

Pulldown menu on post form

Author elthane
#1 | Posted: 29 Nov 2005 19:21 
Can anyone help me with a pulldown menu on the post form, for inserting bbcode tags into the message box?


Author Team
#2 | Posted: 29 Nov 2005 19:57 
you want somebody to write the script for you? :D

Author _Marco
#3 | Posted: 29 Nov 2005 22:00 
There must be something here that fits your needs.....


Author elthane
#4 | Posted: 30 Nov 2005 00:12 | Edited by: elthane 
you want somebody to write the script for you? :D
I'm not too hot at JavaScript D:

It would be fine if it was just a menu of URLs, but I'm having trouble figuring out how to make it insert tags on selection.
Figured there might be some programmers hanging around who might be able to give me some advice :p

Trying to work off of this base:


function formHandler(menu){
var scrpt =[].value;
window.location.href = URL;



<form name="menu">
<select name="site" size=1 onChange="javascript:formHandler()">
<option value="">Go to....
<option value=">Example 1
<option value="">Example 2
<option value="">Example 3
<option value="">Example 4
<option value="">Example 5

, but I'm not sure what to do with[].value;
window.location.href = URL;


Ooh, and thanks for the link, Marco :)
I shall see if I can find solace there.

Author Team
#5 | Posted: 30 Nov 2005 10:24 
I hope this is something to point you on (paste in main_post_form.html):

<select name="selBBcode" onChange="JavaScript:paste_strinL(document.postMsg.selBBcode.value, 4, '[bbcode]', '[/bbcode]', '')">
<option value="">Choose BB Code</option>
<option value="1">1</option>
<option value="2">2</option>

Author elthane
#6 | Posted: 30 Nov 2005 21:57 
Coolies, thank you :)

By the way, sorry for whining and being a pain in the arse.
You guys have done a wicked job with miniBB - keep up the good work!

Specific miniBB Support Forums / Specific /
 Pulldown menu on post form
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.


miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.