Example vBMenu HTML Code 
The following code will generate a complete vBMenu popup and a single associated control, and will also show an alternative HTML layout for incompatible web browsers.
<if condition="$show['popups']">

    <!-- start vBMenu control element -->
    <table class="tborder" cellpadding="4" cellspacing="1">
    <tr>
        <td id="MyMENU" class="vbmenu_control">
            <a href="#">Second Multiple Popup Control</a>
            <script type="text/javascript">
            <!--
            vbmenu_register("MyMENU");
            //-->
            </script>
        </td>
    </tr>
    </table>
    <!-- end vBMenu control element -->
    
    <!-- start vBMenu popup element -->
    <div class="vbmenu_popup" id="MyMENU_menu" style="display:none">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
            <td class="thead">This is my example vBMenu</td>
        </tr>
        <tr>
            <td class="vbmenu_option"><a href="index.php">Home Page</a></td>
        </tr>
        <tr>
            <td class="vbmenu_option"><a href="usercp.php">User CP</a></td>
        </tr>
        </table>
    </div>
    <!-- end vBMenu popup element -->
    
<else />

    <!-- start alternative, non-vBMenu content -->
    <table class="tborder" cellpadding="4" cellspacing="1">
    <tr>
        <td class="vbmenu_control"><a href="index.php">Home Page</a></td>
        <td class="vbmenu_control"><a href="usercp.php">User CP</a></td>
    </tr>
    </table>
    <!-- end alternative content -->

</if>
Copyright © 2024 MH Sub I, LLC dba vBulletin. All rights reserved. vBulletin® is a registered trademark of MH Sub I, LLC dba vBulletin.