..capability of positioning the menu script relative to an existing table in the HTML coding of the page.
Return to Recent Questions
Q:
I came across your program through a link on the Internet. The menu script
displayed was DHTML Menu Demo #23 displayed on
http://dhtml-menu.com/dhtml-samples/menu2752.html
- this is the only menu I
am interested in as it has the capability of positioning the menu script relative
to an existing table in the HTML coding of the page.
I already have a vertical scrolling menu with several features visitors.
We are moving our website to our own server and are doing some updating to make it more
attractive when viewed at different resolutions. If you look
at the source coding for the page (yes, it's almost exclusively in HTML - it
usually views well on any browser) you will see that ALL the content is
enclosed in a table which is centered on the page allowing it to be
completely viewed at any resolution of 800 x 600 or greater. But the
scripting I'm using ( /* Created by Randy Bennet...) uses the left margin of
the browser window as left margin of the page. If it could be written so
that the left margin of the existing (and centered in the browser window)
table would be the point from which the left corner of the "object1" was
measured, then the page would view nicely at any resolution. But I cannot
find out how to do this from your "newer version".
A:
You can create the same menu using Deluxe Menu:
http://dhtml-menu.com/dhtml-samples/menu2752.html
To install Deluxe Menu in the table cell with center alignment you
should use relative position for the menu:
var absolutePos=0;
var posX="0px";
var posY="0px";
And install it on your page in the following way:
<table>
<tr>
<td align="center">
<script type="text/javascript" src="deluxe-menu.js"></script>
</td>
</tr>
</table>
Return to Recent Questions
Related:
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- 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?
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Sep 26, 2006 - Firefox doesn't support the dropshadow and effects in the javascript pull down menu.
- Sep 26, 2006 - Why is the submenu has a different colour than menu items in the javascript menu bar?
|