MyBB Community Forums

Full Version: Drop-down menus
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I've been looking at this, and was wondering how MyBB does their drop-down menus, and what files they use, and where their located. Any help would be appreciated.
Umm what drop down menus?
what do you mean?
As far as I am aware, it is just a standard HTML dropdown menu.

More info here.
MrDoom Wrote:As far as I am aware, it is just a standard HTML dropdown menu.

More info here.
Well, I don't think it is - as, I've tried many times using standard HTML and can't do it. Sad
Well, the options list is filled using PHP, and there is some JavaScript to make it automatically perform the option (on some options) instead of having to click Ok; but apart from that, it's just HTML.

Could you clarify a bit more what exactly you want to do?
t0m Wrote:I've been looking at this, and was wondering how MyBB does their drop-down menus, and what files they use, and where their located. Any help would be appreciated.
Do you mean the drop down menu when you click on "Edit"?
Justin S. Wrote:Do you mean the drop down menu when you click on "Edit"?
Yes! Sorry for not clearing up what I meant.
See /jscripts/popup_menu.js for that one.

You'll need knowledge of Javascript and HTML to make much use of it.


It's an object, so must be created, eg:
new PopupMenu("mymenu");

Additionally, you'll need to name the appropriate DIVs' IDs appropriately.


BTW: What's with phpBB in your sig? O_O
ZiNga BuRgA Wrote:BTW: What's with phpBB in your sig? O_O
I'm a supporter and user of both, both for different applications. As I cannot choose a better forum for certain applications, I chose to use them both. However, I'm starting to wonder what's better.
Pages: 1 2