Please help - I can't get the OFFSET thing to work

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jmiddleont@celn.org
Beginner
Beginner
Posts: 3
Joined: Mon Jul 12, 2004 11:50 pm

Please help - I can't get the OFFSET thing to work

Post by jmiddleont@celn.org »

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@celn.org if possible?

Many thanks

Jackie
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

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
jmiddleont@celn.org
Beginner
Beginner
Posts: 3
Joined: Mon Jul 12, 2004 11:50 pm

Post by jmiddleont@celn.org »

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... :cry:
Jackie
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
jmiddleont@celn.org
Beginner
Beginner
Posts: 3
Joined: Mon Jul 12, 2004 11:50 pm

Post by jmiddleont@celn.org »

You got it - thanks so much , works great now :P
Post Reply