When the webpage that browse, classics regular meeting sees the thing of a few similar pictures or literal content, can click through the mouse dilatory, aleatoric ground changes the position that its get on in screen. Actually, this kind of effect is to pass commonly " can procrastinate eat a layer " will finish.
Dreamweaver has a plug-in unit to be able to make this kind of result very quickly, but how to if there is this plug-in unit on your at hand,do? Irrespective, the behavior DragLayer(that we use DW procrastinates eat a layer) also can make this result conveniently, it is not as inferior as what use plug-in unit to make!
One. Build a new layer
1. opens DW, build one webpage.
2. use Insert>Layer(is inserted > layer) command or use Object(target) the DrawLayer(scale layer in the toolbar) the tool inserts a layer, and set good volume and position. Open Properties(property) face plate, in Bgcolor(setting) the color that the setting scene that the layer sets in casing likes for oneself. Install height, width. In LayerID(layer number) the tag that this layer sets in casing is Drag(or other name) , pursue as follows:
3. is mouse fixed position in this layer, use Insert>Table(to insert > form) or by Object(object) the InsertTable(in the toolbar inserts form) the tool inserts in the layer here 3 1 form, the width of the width that sets table and layer is same. Most the unit case height above is 15px(or other is worth) .
4. adorns table simply. Got-up aftereffect fruit pursues as follows:
2. Set action
1. reachs mouse fixed position most in the unit case above, open Behaviors(act) face plate, click "+" date, in playing the menu that go out choice DragLayer(pulls the) that eat a layer.
2. is playing the DragLayer(that go out to procrastinate eat a layer) the Layer(layer of the dialog box) next pulling in choosing sheet, listed all layer names in this webpage, we choose Layer"drag" .
3. clicks Advanced(advanced) label, procrastinate in DragHandle(drag reference point) the area inside layers of next Area Within Layer(of the choice in pulling menu) option. It uses firm intention area, it it decided to be inside which area is OK that it decided to be inside which area procrastinate eat a layer. Among them L.T.W.H(is left. On. Wide. Tall) set respectively for 1.1.350.15. It says palpability is in be apart from this left 1px, coping 1px, width is 351px, inside the area that is 15px highly (namely uppermost unit division) can spark DragLayer(procrastinates eat a layer) incident. Following plan institute show:
After 4. has been set, decide by OK. We can be in Behaviors(behavior) this incident sees in face plate. Events(incident) be a movement spark incident (Onload) , click the arrowhead from the back to spark convertibly incident;Actions(movement) be a movement, doubleclick it to be able to revise relevant parameter. Can preview our work in the browser by F12 at that time!
3. Decorate
1. adds frame.
Pitch on this, open code fixed position to edit casing by Ctrl+T. Border:1PxThe None in None #000000 repairs instead Solid. Preview, we can discover Drag layer had had the fine frame of a black. The color code at the back of the change can change the color of fine frame.
2. is added shut pushbutton.
The webpage cannot be shut can be no good, we add to shut pushbutton below. In nethermost unit " of the input in case shuts " and make its be placed in the middle. Pitch on this 2 words, open Properties(property) face plate, link in Link() the input in casing " # " (the link) that adds a sky for these two words. Pitch on 2 words, open Behaviors(act) face plate, click "+" date to choose Show-HideLayers(to show in playing the menu that go out conceal a) . Playing Layer"drag" of the pitch on in the dialog box that give, click Hide(to conceal) , press OK, shut a dialog box. Return Behaviors(behavior) incident of Events(of face plate general) set for OnClick(method Alexandrine) . Preview by F12 can click " to shut " to shut (conceal) Drag layer.
3. adds transparent effect.
If can you let procrastinate,eat a layer transparent be more cruel? Good, layer of pitch on Drag, open code fixed position to edit a dialog box by Ctrl+T, a branch is added finally in code, plus Filter:aLpha(opacity=80) . Among them Opacity= ? the value can be changed (the diaphaneity that from 0~100) it decided Drag layer. Attention: If pursue, of honest of glair of of Shun gizzard blows? of bursa fat :
Good, setting is joined on the webpage, see the gain that we work by F12!
Author: Flashmeng

No comments:
Post a Comment