Link:INB Home|INB English| INB русский язык|INB العربية|INB Türkiye|INB فارسی|INB Español|INB Français|INB Português|INB Deutsch|INB 國語|INB 中文|INB 日本语|INB 한국어|INB ภาษาไทย|INB tiếng Việt||dreamweaver tutorial MX making navigation drop-down menu
INB English forum
Welcome to (Industry & Native boffin) The industrial age here is full of fighting spirit, you and I both through this network space with Native biological spirit boffin came to the mad labs. home INBforum.com, come and join us Permanent name: inb-english.forumotion.com
INB English forum
Welcome to (Industry & Native boffin) The industrial age here is full of fighting spirit, you and I both through this network space with Native biological spirit boffin came to the mad labs. home INBforum.com, come and join us Permanent name: inb-english.forumotion.com
INB English forum

Welcome to (Industry & Native boffin) The industrial age here is full of fighting spirit, you and I both through this network space with Native biological spirit boffin came to the mad labs. home INBforum.com, Permanent name: inb-english.forumotion.com


You are not connected. Please login or register

《《《《《《《上一页INBforum   Go down

上一页INBforum》》》》》》》View previous topic View next topic Go down  Message [Page 1 of 1]

1dreamweaver tutorial MX making navigation drop-down menu Empty dreamweaver tutorial MX making navigation drop-down menu Wed Dec 04, 2013 5:30 pm

Admin

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]

http://eng.inbforum.com

上一页INBforum   Go down

上一页INBforumView previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

Copyright ©2009-2016 LTD Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

IT:SINGLESERVGoogle谷歌翻译TranslateFORUMSOFTLAYERGoogle谷歌广告联盟AdSenseAsia

 

Free forum | ©phpBB | Free forum support | Report an abuse | Forumotion.com