(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

Top 54 Brand New jQuery Themes List Top 41 Wonderful CSS3 Templates Collection  |  Best 46 Fresh CSS Themes Collection  |  AMP Mobile Page Template Review  |  Perfect Responsive JS Website Templates Review  |  46 Fantastic CSS3 Web Page Templates Overview  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | AI Website Maker | AI Website Generator | AI website design generator | AI web page design generator