Answer today friends ask, will slide to on my website one menu effect writes a simple tutorial; There is an effect that slides about the layer in ministry of software of bovine muscle university, be like the advertisement on Itnow also is such adoption effects, unused moment is concealed, pushbutton layer is clicked when using slowly slip come out, saved limited page space namely, still achieved the visual result of envy making a person, the feeling rises pretty good still. Everybody can click this effect here is looked carefully at.
Return to the subject, gibberish says less. Preparation works as follows:
1. A blank documentation is built in Dw (the page that perhaps opens you to want to add the effect) .
2. Set the Css style of good yourself.
3. The form that inserts a long 500pix on the page (here explains: The purpose that inserts form is to control a layer to hold relative position below different resolution chang eless, if relevant setting was not become before your page, so this one page structure that you may want to expend bit of kongfu to arrange you) .
4. Enter cursor place form inside, click menu [insert -- layer] insert to grow 500 tall the graph layer of 20, name for Layer1.
5. Enter cursor place graph layer Layer1 again next, click menu [insert -- layer] insert to grow again 500 tall the graph layer Layer2 of 130; Be apart from the left in the attribute of Layer2 and above be apart from install for 0, appoint the setting look that you like for it.
6. Repeat measure next the method of 5, insert Layer3 of layer of a graph again, the good with special that's all right of this graph layer, in this my tutorial, I just am to place a few pushbutton just. Finally my if pursue,rise:
TIPS: Here so the end that become is to want slip picture to you a fender is added before the layer, pursue when click only this graph layer from you issues an abi lity slowly slip come out.
Begin now, just in the making process of the slip menu that make one's bow should make today to us.
Let us repeat the measure above again now 5, insert Layer4 of layer of a graph again, attribute of setting graph layer is wide 500, 150 tall, just be a moment ago Layer2 is mixed the high the sum of Layer3, adjust graph layer Layer4 layer of additionally two graphs below. If pursue:
Next we click the eye before graph layer Layer2 to let him close, can let us see the graph layer Layer4 below it so.
At this moment, we click ALT + F9 to open time axis face plate, DW had added acquiescent time axis Timeline1 for us, next, we want our pitch on slip graph layer Layer4, above click right key, choice [add time axis] at this moment we can be in time axis face plate the graph layer Layer4 that sees we just are made, this explains, we had added a success!
Next we click time axi s to go up the 15th hardwood, in the attribute face plate graph layer Layer4 above be apart from adjust for 150. To here, a can slip graph layer considers do good, you can procrastinate move the gules diamonds above time axis slowly from 1 trend 15, this graph layer that you can see you slowly mix from Layer2 slide below Layer3 come out!
Good, the setting of graph layer Layer4 that we need to be able to slide to this only now can activation his movement calculates Over: ) before this, I had inserted a form on the Layer3 that I add, installed two pushbutton for Layer4.
We install activation first the movement of slip graph layer. This pushbutton spreads out on the choice, turn to behavior face plate, click choose in the menu that come out [time axis -- broadcast time axis] DW can bomb a put oneself in another's position of a window, timeline1 of next above the choice in pulling menu.
Affirm in behavior face plate incident is Onclick next
Good, to here, you can be previewed, click when you on when spreading out pushbutton, your graph layer is met slowly from go up and next sliding come out!
How, saw: ) we add on one to close an act simply to graph layer again, click layer of the graph after shutting pushbutton to conceal namely. Pushbutton is shut on the choice, turn to behavior face plate, click choose in the menu that come out [show conceal layer] , the Layer4 on choose is chosen in the window body that jumps out, click next below conceal pushbutton, its the setting is conceal, if pursue:
Good, preview again, after discovery spreads out, click shut graph layer to do not have: ) nevertheless, have a problem it seems that, click again when spreading out, it seems that it doesn't matter reacted, that is we still have a movement to do not have a setting.
Repeat a moment ago measure 5, pushbutton spreads out on the choice, add a movement [time axis -- turn to time axial hardwood] , the window body that jumping out falls mediumly pull menu to choose Timeline1, hardwood number is put on 1.
Good, preview this discover this problem is solved. But we still are oversight it seems that a problem, click layer of this graph after shutting to was to conceal by the setting, click again spread out to also do not have reaction. Still use old method, give spread out pushbutton to add a movement to be able to be solved!
Repeat measure 5, choice [show conceal a layer] , and a moment ago measure 6 contr ary, this we choose to show, after deciding, assure to show the time that locks graph layer is Onclick in behavior face plate. If the behavior face plate that spreads out pushbutton at the moment pursues:
Good, preview again, everything is normal!
So far, this effect calculates finished, of course, everybody is completely OK ego play makes better result, but remain essentially the same despite all apparent changes, want us to had mastered what time axis coordinates behavioral action to apply only, all effects just handle an issue: )

No comments:
Post a Comment