(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    How do I resize and position the navigation menu bar inside a table?

Return to Recent Questions


Q: I have generated my navigation menu bar and want to incorporate it into my current website.
How do I resize and position the navigational menu inside a table?


A: 1) Resize:
You could specify exact width for menu using that parameter:

var menuWidth="400px";

You can also set exact width for each top item using Individual Item Styles:

var itemStyles = [ ["itemWidth=120px"], ];

var menuItems = [ ["Item 1","", "", "", "", "", "0", "", "", ],
["Item 2","", "", "", "", "", "0", "", "", ],
["Item 3","", "", "", "", "", "0", "", "", ],
["Item 4","", "", "", "", "", "0", "", "", ],
["Item 5","", "", "", "", "", "0", "", "", ],
];

2) Position the navigational menu inside a table:
You can paste the menu inside the <div> or <table> tag, for example:

<DIV align=center>
<SCRIPT src="data/data.js" type=text/javascript>
</SCRIPT>
</DIV>


<table width=800>
<tr>
<td align=center width=600><script type="text/javascript" src="data/data.js"></script></td>
</tr>
</table>





Return to Recent Questions

Related:
Bootstrap Collapse Toggle Bootstrap Form Button  |  Bootstrap Icons Button  |  Bootstrap Carousel Example  |  Bootstrap Glyphicons List  |  Bootstrap List View  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. nl | static website generator | Mobirise Templates | free icon fonts | css menu