Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:04
Problems with positioning the menu
Poster: ny152
Dated: Sunday October 12 2003 - 19:49:43 BST
With version 3.5 I used to position my menu like this:
Quote:
var pos = (document.body.clientWidth - 833) / 2;
var hei = 90;
var hei = 90;
and then use the variables in the menu item string
Quote:
addmenu(menu=[
"products",
hei,
wid,
etc.
"products",
hei,
wid,
etc.
However, I tried to use my "pos" and "hei" variables in version 5.0 but it does not work. The browser does not even let me declare the variables in the top of the the menu_data.js file.
Can anyone help me here?
Quote:
Poster: Maz
Dated: Monday October 13 2003 - 6:36:16 BST
Probably something to do with classes, otherwise that would be top and left and screenposition or imagemap coordinates.
maz
Poster: fredlongworthhighschool
Dated: Monday October 13 2003 - 8:35:33 BST
Can you post a URL so we can see your page? It will help us to visualise how you are presenting your menu.
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
