Sunday, April 4, 2010

Buttons and Layers

I need some help with this....TIA~~~



I am trying to create a menu layer that appears when I hover
over a

button. I am updating a website in which this action already
exists

for three of eight buttons.





I thought that I could simply copy the menu1 and apply it to
my newly

created button and call it menu4. Well, after a lot of code
changes

and so forth, I was

able to have my new menu4 pop-up when I mouse over my button.






Here is the PROBLEM. When I mouse over the button, the menu
pops-up,

everything works,

EXCEPT, when I mouse over to a different button (one without
a menu

layer), my menu4 doesn't hide. It stays there until I
actually go to

the menu4 again and mouse over it's contents.





The other buttons that have this functionality are working
and

funtioning great just

like they are supossed to do.





What am I missing? I have scoured over this code for the
longest

time.





I am using Dreamweaver MX.





Thanks so much!





Buttons and Layers
Sounds like you are missing a 'hide' behaviour being applied
to an element.

Select one of your other buttons and check the behaviours
associated with

it... you'll probably see that you will have a list of
show/hide behaviours

applied to the other buttons. You need to add a 'hide'
behaviour to the new

button when the others are 'showing'...



Hope that makes sense and hopefully I'm understanding the
kind of menu you

are using.



--

Nadia

Adobe庐 Community Expert : Dreamweaver

----------------------------------------

CSS Templates |Tutorials |SEO Articles


http://www.DreamweaverResources.com

~ Customisation Service Available ~


http://www.csstemplates.com.au

----------------------------------------



''brokerxx'' %26lt;webforumsuser@macromedia.com%26gt; wrote in
message

news:eudsac$m53$1@forums.macromedia.com...

%26gt;I need some help with this....TIA~~~

%26gt;

%26gt; I am trying to create a menu layer that appears when I
hover over a

%26gt; button. I am updating a website in which this action
already exists

%26gt; for three of eight buttons.

%26gt;

%26gt;

%26gt; I thought that I could simply copy the menu1 and apply
it to my newly

%26gt; created button and call it menu4. Well, after a lot of
code changes

%26gt; and so forth, I was

%26gt; able to have my new menu4 pop-up when I mouse over my
button.

%26gt;

%26gt;

%26gt; Here is the PROBLEM. When I mouse over the button, the
menu pops-up,

%26gt; everything works,

%26gt; EXCEPT, when I mouse over to a different button (one
without a menu

%26gt; layer), my menu4 doesn't hide. It stays there until I
actually go to

%26gt; the menu4 again and mouse over it's contents.

%26gt;

%26gt;

%26gt; The other buttons that have this functionality are
working and

%26gt; funtioning great just

%26gt; like they are supossed to do.

%26gt;

%26gt;

%26gt; What am I missing? I have scoured over this code for the
longest

%26gt; time.

%26gt;

%26gt;

%26gt; I am using Dreamweaver MX.

%26gt;

%26gt;

%26gt; Thanks so much!

%26gt;

%26gt;

%26gt;

%26gt;





No comments:

Post a Comment