View Full Version : menu offset problem

07-06-2005, 07:54 PM
Hi, i have a problem. I have 4 different sliding menus, located on top of eachother. Once the mouse enters a box, it tabs out, and once it leaves, it returns to its origional state. The problem is that I don't know how to subtract height from the offset margin. For example, the 2nd menu bar is tabbing out when the mouse enters the 1st bar, because it's height is set at 150px.

what i have tried to do is something like this so that there would be 100px of nothing starting from the top of the frame...


Is this the incorrect way of doint this?

Please let me know.

07-06-2005, 09:11 PM

difficult to answer without knowing what 'top:' and 'slidemenu_top' are

if slidemenu_top' is say '200px' then parse float is appropiate

if it is 200(digits) parse float is not reqd

the +'px; should be +'px';

I would not like to guess what top:' is but as it is a string? there will be a problem adding it to a number

07-06-2005, 09:38 PM
var slidemenu_width='175px'
var slidemenu_reveal='32px'
var slidemenu_top='125px'

this is an example of the 2nd bar down.

the 1st bar has var slidemenu_top='0px'