Position query

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Croft Storm
Beginner
Beginner
Posts: 9
Joined: Thu Oct 02, 2003 5:15 pm

Position query

Post by Croft Storm »

Hi

I'm currently using this postion:

135, // Menu Top - The Top position of this menu in pixels
48, // Menu Left - The Left position of this menu in pixels

How can I change it so that it is still at height 135 but it always appears in the center of the page
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Open the menu.htm file that came in your download. Answers are there.
John
Croft Storm
Beginner
Beginner
Posts: 9
Joined: Thu Oct 02, 2003 5:15 pm

Post by Croft Storm »

Thanks, that'll work quite well when I've repositioned the rest of the site ;)

One thing though; when the window is shrunk to a certain size, the menu leaves the left of the screen. see for youself at

http://www.croftstorm.uni.cc

Can this be fixed?
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Right now there is nothing to stop the menu from doing that. That would take a fix to the internals of the code for it to check to see if its left border is off the edge of the screen and if so, stop moving left. Maybe Andy can tweak the code alittle.....hes been cranking out RC's like crazy lately. I wonder if he sleeps.... 8O
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
Post Reply