- Impact
- 18
Hi. I am just learning about divs and DHTML and stuff, and was in the middle of making a menu system for a new site I am making, and I wondered if you could help me with something.
This menu is going to be dynamic. I want to be able to add and remove items on it with php and mysql, so I never know how far down a menu item is.
What I need is some javascript (or php) that will get the "right" value of a div and the "bottom" value of div (or the height and width).
This way I can calculate the next one down etc.
Thanks
Tom
This menu is going to be dynamic. I want to be able to add and remove items on it with php and mysql, so I never know how far down a menu item is.
What I need is some javascript (or php) that will get the "right" value of a div and the "bottom" value of div (or the height and width).
This way I can calculate the next one down etc.
Thanks
Tom





