Is there any way to have a floating dhtml menu float in the centre of the screen
Return to Recent Questions
Q:
Is there any way to have a floating menu float in relation to the
centre of the screen (not the left of the screen).� I have a centre
based website. When I use the floating menu and view the site on
different screen sizes, the floating menu appears in different
places on the x scale. For example,� I would like it 20 percent from
the edge of my centre based webpage, not 20 percent from the left of
the screen.� I want the menu to appear on the same horizontal place
on my webpage (which is centre based)
A:
No unfortunately it is not possible to write
var posX="50% - 20";
You should adjust your coordinates to center the menu with absolute
position.
Return to Recent Questions
|