-
Dynamic Layer Positioning
I'm having problems positioning a layer,
basically, I'm trying to design the site so that when people move their mouse
over a menu item, a discription pops up beside the menu item, giving a description.
At first I had the layer positioned in a fixed position on the page, so the
text on it just changed when you browsed over different menu items, but as
the menu got longer, you couldn't see the layer in its fixed position, because
you scrolled past it, so I have added the line
document.all.odiv.style.top = event.clientY;
to my javascript, to make the layer move down with the scrolling, and this
is somewhat effective, the problem is that
its not beside the menu, it seems to appear in different places around the
screen,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks