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


 

    No matter where I put the line of code in my html file, the down menu in dhtml always shows up at the very top of the page.

Return to Recent Questions


Q: Your service is excellent and I am making progress learning the program. I was able to resolve the transparency issue thanks to your help but, but now I have another one that is stumping me.

I can get the menu to show up in my html document and it works as I hoped it would. However, no matter where I put the line of code in my html file, the down menu in dhtml always shows up at the very top of the page. The instructions indicate the following:

Copy the following code into clipboard and paste it into the place you want to have the down menu in dhtml:

<script type="text/javascript" src="newmenu2.js"></script>

For example, into a table cell:
<table>
<td><script type="text/javascript" src="newmenu2.js"></script></td>
</table>

No matter where I put the code:
<script type="text/javascript" src="newmenu2.js"></script>, the menu shows up at the top of the page.
What am I missing?

A: Check that you're using relative position for the down menu in dhtml:

var absolutePos=0;
var posX="0px";
var posY="0px";






Return to Recent Questions

Related:
AMP Mobile Page Template Review Best 46 Fresh CSS Themes Collection  |  46 Fantastic CSS3 Web Page Templates Overview  |  Splendid JS Design Maker Overview  |  Beautiful JS Page Theme Review  |  Perfect Responsive JS Website Templates Review  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. free icons | bootstrap menu | bootstrap button | free website generator | free icon maker