1 dreamweaver tutorial MX making navigation drop-down menu Wed Dec 04, 2013 5:30 pm
Admin
Admin
Dreamweaver since his debut, its easy to use and powerful "behavior " (Behavior) has been one of the hotspots of concern to everyone . In Dreamweaver MX (DW MX) , and there has been a feature of this expansion and improvement.
In DW MX , the behavior refers to an operation in response to an event (Event) taken (Action). Which refers to the Event browser events, such as the window refreshes, mouse movement. The Action refers back JavaScript code in response to an event , you can complete the appropriate action , such as playing sounds , flip pictures.
Produced by DW MX navigation drop-down menu is one of the effects of frequently used web pages . The main application of the DW MX the "Show-Hide Layers" behavior.
First, make a good navigation bar , then add a layer of location will be displayed as a drop-down menu , and fill in the corresponding part of the pull-down menu .
Next, open the "Behaviors" panel , and select the " Products " link ( note that this time can not be selected just built layer , or can not use "Show-Hide Layers" behavior ) , click the "+ " sign , select "Show-Hide Layers", you can see we have just built a layer option , you can set to hide or show .
Magical acts mainly reflected in: if we are to achieve the drop-down menu , the key is to let the mouse over the " Products " link when making layer display ; while the mouse leaves the link , so that the hidden layer . According to this idea , we first established as the layer two Action, a select Hide, a select Show. Then, adjust the Event, the Event is set to Hide Layer OnMouseOut, is leaving the mouse on a link ; while the Show Layer of Event Set OnMouseOver, namely the mouse to select a link. Press "F12" preview , you can see we look forward to the results.
Thus , we usually feel very mysterious drop-down menu navigation can be easily implemented in behavior . You can also continue to apply the "Swap Image" behavior in the navigation links on the picture flip effect appears when the mouse click on the link .
Behavior is not one isolated effects, can be combined to achieve complex superposition of multiple behavioral functions , in addition to the default settings DW MX good behavior , we can also download more cool third-party behavior from www.mcromedia.com, we just need to copy them directly to DreamweaverMX \ Configuration \ Behaviors \ Actions \ directory can be, so this glittering DW MX more dazzling]
In DW MX , the behavior refers to an operation in response to an event (Event) taken (Action). Which refers to the Event browser events, such as the window refreshes, mouse movement. The Action refers back JavaScript code in response to an event , you can complete the appropriate action , such as playing sounds , flip pictures.
Produced by DW MX navigation drop-down menu is one of the effects of frequently used web pages . The main application of the DW MX the "Show-Hide Layers" behavior.
First, make a good navigation bar , then add a layer of location will be displayed as a drop-down menu , and fill in the corresponding part of the pull-down menu .
Next, open the "Behaviors" panel , and select the " Products " link ( note that this time can not be selected just built layer , or can not use "Show-Hide Layers" behavior ) , click the "+ " sign , select "Show-Hide Layers", you can see we have just built a layer option , you can set to hide or show .
Magical acts mainly reflected in: if we are to achieve the drop-down menu , the key is to let the mouse over the " Products " link when making layer display ; while the mouse leaves the link , so that the hidden layer . According to this idea , we first established as the layer two Action, a select Hide, a select Show. Then, adjust the Event, the Event is set to Hide Layer OnMouseOut, is leaving the mouse on a link ; while the Show Layer of Event Set OnMouseOver, namely the mouse to select a link. Press "F12" preview , you can see we look forward to the results.
Thus , we usually feel very mysterious drop-down menu navigation can be easily implemented in behavior . You can also continue to apply the "Swap Image" behavior in the navigation links on the picture flip effect appears when the mouse click on the link .
Behavior is not one isolated effects, can be combined to achieve complex superposition of multiple behavioral functions , in addition to the default settings DW MX good behavior , we can also download more cool third-party behavior from www.mcromedia.com, we just need to copy them directly to DreamweaverMX \ Configuration \ Behaviors \ Actions \ directory can be, so this glittering DW MX more dazzling]