Thursday, October 22, 2009

Menu of activity of the Dreamweaver that make

   The friend that has talked about a day with QQ conceals window function automatically to it to fondle admiringly, it can make the window appears relaxed and neat and rich move feeling, a few friends of the author want to be joined in the webpage in oneself similar east, through fumbling discovery is used jointly Dreamweaer can achieve this kind of result, we adopt an activity bill of fare below make look.

  The 1st pace: Appearance of the menu that make

A file is built in Dreamweaer, scale a layer, in a form should be inserted in the layer (if pursue 1) , undertake got-up to this form, join what dish individual event builds each to exceed a link next, exceed the underline of the link for take out, can edit the CSS style that exceeds a link, CSS selector is passed in CSS style face plate will " Link " and " Hover " " Decoration (adornment) " all install for " None (without) " , will " Hover " " Color (color) " the setting is red, good the setting finally style uses each bill of fare in (can press " F12 " key previews the effect) .


   The 2nd pace: Design the dynamic effect of menu

1, level of make choice of, become when the mouse " 10 " Zun Jian is pressed when the glyph pull the level use page top right corner (make whole menu show completely but above predestined relationship as it happens draws close the border on the page) , time line face plate is opened in window menu, level of make choice of pulls his move time line to go up, dreamweaer can produce a length automatically to be the animation object of 15 frame, pull the last crucial frame that touchs this animation object to arrive the 30th frame, its length setting is 30 frame. Click right key in place of the 15th frame next, choose in playing the quick menu that go out " add crucial frame " option inserts a crucial frame, pull the level use proper position (if pursue 2) .

 
   The place of the 15th frame in time line window clicks right key again, choose in playing the quick menu that go out " add a movement " , add an alternant behavior for this frame, dreamweaer will open behavior face plate automatically. In clicking behavior face plate " + " pushbutton, choose from inside playing the menu that go out " Timeline/Stop Timeline " , open " Stop Timeline " dialog box, choice " Timeline1 " hind click " affirmatory " pushbutton shuts this dialog box. The incident of alternant behavior is " OnFrame15 " , the movement is " Stop Timeline " , when such lines between at that time run the 15th frame, animation will stop to broadcast, realized menu so resilient function.

2, also add in the place of the 30th frame of time line with same method " Stop Timeline " alternant behavior, realized menu to play the function that give so. After adding these two alternant behavior, diamonds of a blue appeared above the correspo nding frame in time line window, it represents an alternant action. Choice " be broadcasted automatically and circulate " answer choose casing, make animation can be broadcasted automatically circularly (if pursue 3) .



3, after installing a behavior to let time line stop even now, can continue to broadcast. My tentative idea is such: Menu falls in general position resilient but withhold lower part only " campus grand sight " model of written characters, and menu play again go out and resilient whether to pass menu by the mouse those who go up " campus grand sight " will control. So OK such proceed: Menu of make choice of medium " campus grand sight " (should ensure of this model of written characters exceed link address to be " # " , link for nothing namely) model of written characters, in clicking behavior face plate " + " pushbutton, choose in playing the menu that go out " Timeline/Play Timeline " , choose in shooting the dialog box that give then " Timeline1 " hind click affirmatory pushbutton, at this moment lieutenant general of behavior face plate increases an action, in its " Events " next choices in drawing list " OnMouseOver " incident, animation is broadcasted when expressing to be in upper part of this model of written characters when the mouse (if pursue 4) .


So far, an activity menu make finished. Can press " F12 " key previews its effect.

But this menu what still have a bit a blemish in an otherwise perfect thing is, its disappear menu must be passed in the mouse the location of lower part (it is in this exemple " campus grand sight " model of written characters) when just go, want to be in menu play after going out, want a mouse only from this menu on removed can make menu disappears, the likelihood is about Fireworks of have the aid of or Flash, if you have what good method, might as well incoming letter and we communicate together.

No comments:

Post a Comment