467,083 Members | 1,259 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,083 developers. It's quick & easy.

yahoo new mouseovers

I am trying to build the same text link mouseover as yahoo has on each
news item. when you hover over the link, a small box pops up and
displays a photo wtih text.

I can get the box to pop up, but I can get it to position away from the
mouse icon. I want the menu box to display 25 pix down and 10 to the
right of the mouse icon on the hover.

I have tried using fixed, absolute etc css position on the menu but it
will not position correctly.

thanks

Jul 21 '05 #1
  • viewed: 1525
Share:
2 Replies
Els
bs********@absoftware.com wrote:
I am trying to build the same text link mouseover as yahoo has on each
news item. when you hover over the link, a small box pops up and
displays a photo wtih text.

I can get the box to pop up, but I can get it to position away from the
mouse icon. I want the menu box to display 25 pix down and 10 to the
right of the mouse icon on the hover.

I have tried using fixed, absolute
Those wouldn not work.
etc css position
Does that include position:relative?
on the menu
position:relative should be on the 'popup', not on the menu.
It could work with position:absolute on the 'popup' in combination
with position:relative on each menu item, but that usually is a bit
over the top and may result in various other problems.
but it will not position correctly.


Does it now?
If not - provide a URL so people can see what is happening.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -
Jul 21 '05 #2
bs********@absoftware.com wrote:
I can get the box to pop up, but I can get it to position away from the
mouse icon. I want the menu box to display 25 pix down and 10 to the
right of the mouse icon on the hover.


Either post a question on a DHTML newsgroup or search for a DHTML tutorial on
obtaining the user's current mouse position.
Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by dan roberts | last post: by
6 posts views Thread by Travis | last post: by
11 posts views Thread by Brett | last post: by
6 posts views Thread by erdem kemer | last post: by
7 posts views Thread by Mahesh Devjibhai Dhola | last post: by
4 posts views Thread by joe_public34 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.