menus and divs.
I have recently built a rollover menu using DHTML (html+javascript+css), but it uses absolute positions, such as 35 pixels down, and the such.
Is it possible to find the height of an object, and/or the distance from the top+left the object is, so I can make the menu more flexible and usable?
That would be great!
teammatt3 posted this at 02:29 — 9th April 2006.
He has: 2,102 posts
Joined: Sep 2003
Unless everything on your page is aligned absolutely, it won't work properly, because in different browsers and settings, everything is in a different position (pixel wise). Make sense?
kker posted this at 02:34 — 9th April 2006.
They have: 7 posts
Joined: Apr 2006
So for every copy of this that I put into the web page, I have to adjust the script so it places the menu in the correct place? That is annoying.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.