Skip to main content
Participant
March 25, 2007
Question

JS Behaviours

  • March 25, 2007
  • 1 reply
  • 280 views
I have a situation whre i need to use a number of JS behaviours, essentially a menu with a drop down. I have an up & over for the main menu item, on mouseOver i show the layer. This layer contains 2 sub-menu items each with a up & over state. Using PVII I snap the layer to the main menu item on mouseOver. Problem is, I don't want the swapImgRestore to execute on the main menu itme until i mouseOut on the sub-menu DIV. I've tried a number of combinations, which includes removing the swapImgRestore call on the main menu item, and adding a swapImage on mouseOut of the sub-menu DIV to replace the up state on the main menu. Can't seem to get anything to work. Any thoughts?
This topic has been closed for replies.

1 reply

Inspiring
March 26, 2007
Why are you doing this manually? There are much better solutions! You will
find several of them on the PVII site....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"lbombardier" <webforumsuser@macromedia.com> wrote in message
news:eu71g5$ofg$1@forums.macromedia.com...
>I have a situation whre i need to use a number of JS behaviours,
>essentially a
> menu with a drop down. I have an up & over for the main menu item, on
> mouseOver
> i show the layer. This layer contains 2 sub-menu items each with a up &
> over
> state. Using PVII I snap the layer to the main menu item on mouseOver.
> Problem
> is, I don't want the swapImgRestore to execute on the main menu itme until
> i
> mouseOut on the sub-menu DIV. I've tried a number of combinations, which
> includes removing the swapImgRestore call on the main menu item, and
> adding a
> swapImage on mouseOut of the sub-menu DIV to replace the up state on the
> main
> menu. Can't seem to get anything to work. Any thoughts?
>