![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am taking a Javascript course online. We are learning to create drop-down menus with <div> layers. The problem is that the way the books teachers us to get the dropdown menu to work you have to click the link once and twice to get rid of the menu. I am doing my final project and I want to use the OnMouseOver() function to get the menu open. The only problem is when I do OnMouseOver on the link it opens the menu but when I go to click something on the menu the menu disappears because my mouse isn't over the original link anymore. Is there anyway to keep that menu open even after I leave the link? I don't need exact code since this is my project and I don't need anybody to do my homework. I just would appreciate a point in the right direction. |
#3
| |||
| |||
|
|
I am taking a Javascript course online. We are learning to create drop-down menus with <div> layers. The problem is that the way the books teachers us to get the dropdown menu to work you have to click the link once and twice to get rid of the menu. I am doing my final project and I want to use the OnMouseOver() function to get the menu |
|
open. The only problem is when I do OnMouseOver on the link it opens the menu but when I go to click something on the menu the menu disappears because my mouse isn't over the original link anymore. Is there anyway to keep that menu open even after I leave the link? I don't need exact code since this is my project and I don't need anybody to do my homework. I just would appreciate a point in the right direction. |
#4
| |||
| |||
|
|
On 19 Apr 2004 11:15:48 -0700, Mark Constant <constants (AT) mix-net (DOT) net> wrote: 01234567890123456789012345678901234567890123456789 0123456789012345678912 I am taking a Javascript course online. We are learning to create drop-down menus with <div> layers. The problem is that the way the books teachers us to get the dropdown menu to work you have to click the link once and twice to get rid of the menu. I am doing my final project and I want to use the OnMouseOver() function to get the menu Sorry to nit-pick, but it's the "onmouseover event" or "onmouseover intrinsic event". open. The only problem is when I do OnMouseOver on the link it opens the menu but when I go to click something on the menu the menu disappears because my mouse isn't over the original link anymore. Is there anyway to keep that menu open even after I leave the link? I don't need exact code since this is my project and I don't need anybody to do my homework. I just would appreciate a point in the right direction. An alternative approach to the one Kaeli suggested is to extend the box (CSS term) that contains the link so that the mouse doesn't actually leave the link area. It is a little more tricky, but will probably produce better results. Good luck, Mike |
![]() |
| Thread Tools | |
| Display Modes | |
| |