Multiple Popup Controls, Single vBMenu Popup 
As previously mentioned, any vBMenu popup can have any number of popup controls.

To achieve this, it is necessary to slightly alter the code for each popup control.

With a single control, the id attribute of the popup control uses the unique identifier for the vBMenu it controls, like this:
<td id="MyMENU" class="vbmenu_control">
    <a href="#">Single Popup Control</a>
    <script type="text/javascript">
        vbmenu_register("MyMENU");
    </script>
</td>
To allow multiple controls to operate the same menu, it is necessary to add a unique suffix to each control's identifier, which takes the form of a period followed by the unique suffix, as shown here:
<td id="MyMENU.first" class="vbmenu_control">
    <a href="#">First Multiple Popup Control</a>
    <script type="text/javascript">
        vbmenu_register("MyMENU.first");
    </script>
</td>
<td id="MyMENU.second" class="vbmenu_control">
    <a href="#">Second Multiple Popup Control</a>
    <script type="text/javascript">
        vbmenu_register("MyMENU.second");
    </script>
</td>
Copyright © 2024 MH Sub I, LLC dba vBulletin. All rights reserved. vBulletin® is a registered trademark of MH Sub I, LLC dba vBulletin.