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:20
Please help - I can't get the OFFSET thing to work
Poster: jmiddleont __at__ celn.org
Dated: Monday July 12 2004 - 23:58:50 BST
Hi All
I'm trying to get the DHTML menu thing to work, and it's almost there but I can't seem to force it to work; I'm trying to get the DHTML mouseover menu's to appear at the immediate top-right of the Windows/Kitchens/Bathrooms GIF buttons:
Check this out
http://www.thinktankmarketing.co.uk/not ... ndexx.html
I've tried altering those Offset things, but changing the values seems to have no impact at all >>>
eg; _subOffsetTop=-8 _subOffsetLeft=-2
I'm sure this is something obvious I'm doing wrong in the calls, but I've spent too long on this the last few hours, so I'm missing something completely.... can someone please help?
Please write me back directly at jackiem __at__ celn.org if possible?
Many thanks
Jackie
Poster: Maz
Dated: Tuesday July 13 2004 - 1:11:26 BST
You probably need
left="offset=Xpx";
where X is you number, can be negative, place it in menu styles, that's just above menu items.
maz
Poster: jmiddleont __at__ celn.org
Dated: Tuesday July 13 2004 - 3:06:40 BST
No luck...
I edited the menu_data.js file to include such a line, but the mouseover menu is still coming up in the wrong place...
See
http://www.thinktankmarketing.co.uk/not ... nu_data.js
and http://www.thinktankmarketing.co.uk/not ... ndexx.html
What could be going wrong? Can someone please point out what's actually wrong in my HTML or JS file???
Helllllllllppppppp...
Jackie
Poster: Ruth
Dated: Tuesday July 13 2004 - 3:19:35 BST
You are not using a vertical menu with images inside the menu which would then have the submenu open at whichever position you set in the subOffsets. You are using a pop function linked to images and the pop menu opens at the left side of the image to which it's linked. It's not a 'submenu' per se. If you put a left=Xpixels or use Maz's left="offset=Xpixels" in the actual menu you are popping then it will move. I tested it in Netscape, 7 Opera 7, IE5.5 Firebird .07.
Ruth