The dhtml javascript menu script 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 dhtml javascript menu script 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 dhtml javascript menu script
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 dhtml javascript menu script:
<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 dhtml javascript menu script:
var absolutePos=0;
var posX="0px";
var posY="0px";
Return to Recent Questions
Related:
- Aug 30, 2006 - Can all the java script be contained with in the html and not use an external .js file?
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 06, 2006 - The Items of the javascript tree view stay expanded in the same state.
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 11, 2006 - How can I hide my dropdown menu on print?
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Sep 22, 2006 - How to call the function in my java script menu?
- Sep 23, 2006 - Is it possible that javascript drop down menus doesn't put anything on the local computer?
- Sep 23, 2006 - Is it possible that your menu call some javascript onmouseover event?
|