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


 

    I can't put the javascript layer menu where I want it on my page.

Return to Recent Questions


Q: First, i like the time I save with this program, but it isn't going to help me that much if I can't put the menu where I want it on my page.

No matter how I set the "positioning", it shows up in exactly the same place over and over. I've put it in table cells, I've given it absolute positioning... none of it matters.


A: If you want to center the menu paste it within the <div> or <table> with a static position and specify a center alignment for it, 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>

Please, set exact value for var menuWidth parameter, for example:

var menuWidth = "600px";
This can help to align your menu correctly in all browsers.
Try also to specify units in "px".
Set also:
var absolutePos = 0;

Try that.





Return to Recent Questions

Bootstrap Layout Jquery Bootstrap Jumbotron Header  |  Bootstrap Modal Popup Form  |  Bootstrap Login forms Layout  |  Bootstrap Multiselect Option  |  Bootstrap Row Grid  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. free website generator | Mobirise Themes | icon font | best website design software | css menu maker