Literal link can say is the commonnest page element in the webpage, acquiescent literal link style is the effect that takes underline, this kind one old changeless exterior may make a lot of friends want to change it, the accords with a page whole effect with making, since the style after the watch receives wide application, this desire is OK now special and convenient implementation. I use modal watch to make colorful writing link the result to everybody introduction today. I am cent primary piece, into rank piece and advanced piece make the introduction to everybody, we will achieve all link style results in the modal editor in Dreamweaver, about Dreamweaver the usage of medium modal editor asks the introduction before reference. Link style browses the effect to pursue as follows; Specific page is browsedSee here please
One, preparation works
We will establish a fundamental link pattern above all, the Class that other types will add one each to define on this foundation kind.
1, Shift+F11 opens modal face plate, click build modal pushbutton, if pursue one;
2, Use CSS Selector chooses in Type option, found acquiesce to link a type, if pursue 2;
3, according to the graph 3 in the pattern that shows set acquiesce to link is without underline, font is 9pt of body of the Song Dynasty, other colour is not installed etc, we will be each Class at the back kind install respectively.
4, definition style kind Class. The each type style below us was to define alone kind, gift its link character. Move is as follows: Click add open face plate of new definition style, choose Make Custom Style (Class) the style that defines oneself kind. If pursue 4;
5, add a type to link a character kind. In the choice in Dreamweaver one necklace accepts a script, in the window most the fast ticket of the lower end chooses on choice label, right key clicks this label, choice Set Class gifts the style that defines oneself this link character can, if pursue 5;
6, the practice of style of other link writing and this is identical, my general makes the introduction no longer from the back. Modal method is linked about what define Hover condition in this tutorial, friends are OK oneself are made. I also make the introduction no longer, when clew is defined, just input directly [.t1:hOver] can.
2, primary link style
We will be in the link effect of this part completely the Type of modal editor is finished in classification, how be founded and install me no longer dilatancy, see finished face plate plan to everybody only, make the introduction a bit.
1, common link. If pursue 6;
Common link is the set in the first Type in the Category classification of modal editor, color defines the color that links font, the lineation that Decoration definition links style, cent is the following kinds:
Underline: Underline
Overline: Underline on
Line-through: Delete a line
Blink: Blink a line
None: Without underline
What cadre divides is other style of a few kinds of links is the effect that the combination that underlines through the change will come to to achieve.
2, link without underline, if pursue 7;
3, double underline a link, if pursue 8;
4, delete line link, if pursue 9;
3, enter rank link style
Next I introduce a kind additional kind of definition method that links a type, this kind of method basically is to use a style to express medium Border attribute to come to those who replace common link to underline, because Border has more control parameter and type, because this can achieve a few special effects. We will see the face plate below, if pursue 10;
Width includes in Border option (underline width) , Color (underline colour) , Style (underline sort) 3 parts, and every part is OK the parameter that differs in the light of different frame set, this is the effect that common link underlines impossible implementation.
Needing those who remind everybody is, use this kind of method to define link style to still have an essential requirement: Must define the Box attribute in the style namely, if pursue 11;
Because Border is the lump element in belonging to a style,this is, we must define element of a lump to just can make Border effective first. We should define the Width in Box option or Height arbitrarily only can, specific and numeric everybody can try to see the effect, I defined Height here for 0. We look below can make what kind of result.
1, additional kind of link style. If the setting pursues 12;
2, custom-built underline colour, we can define the colour with an underline and different written language, this is the result that common link character achieves impossibly, what the shade that wants the colour Border and written language only defines is different can, if pursue 13;
3, custom-built underline distance. This kind of lineation setting in be apart from us to be able to be classified in Box, need to change the numerical value of Padding only, in this exemple our set Padding, Bottom is 5pix, if pursue 14;
4, custom-built underline length and to neat means. Further the length that we return OK and exact definition to underline and to neat means, open Box to classify set Width for 200, if pursue 15; The Text Align that set Block classifies is Center, namely among right neat, if pursue 16;
5, custom-built double underline the effect. The Style in changing Border can change underlined outward appearance, among them set Style is Double, and set Bottom can achieve pair of lineation results for 3pix. If pursue seventeen;
4, advanced link style
Adopt the technique that introduces above assorted application, we still can create a more complex written language to link a type, we introduce 3 case below.
1, definition lump link. Add color of a setting to the link above all, if pursue 18;
Increase four frame to be able to realize planar lump character to link for literal link again, if pursue 19;
2, link of character of definition pushbutton shape. Change the style of frame, definition Border-Style is Outset, if pursue 20;
Those who define the Width in Box option and Height to be able to define pushbutton is wide and tall, definition Padding can make link character and pushbutton for 2pix all around the span that has 2pix, if pursue 21;
3, link of character of definition specially good effect. Lens of filter of a group of specially good effect still was included in CSS style watch, we are OK recombine filter lens and the parameter in front establish special link pattern. I established the literal link of lens of filter of an use Blur in this exemple, contain frame effect. If pursue 22;
4, the effect that defines static setting switch. This exemple is the effect that the background picture that differs through common to linking a character position and Hover condition set will come to realize setting switch. See figure below:
5, the effect of dynamic setting switch. This effect and go up the routine is basic and same, just defined setting of picture of a dynamic Gif in Hover condition. And this picture needs a bit skill is set it is circularly, add a frame finally, the time of set frame is a greater value, like 10000. Can make animation is carried out so at the same time hind stop. To improve the speed when the effect is carried out, we still needed to increase action of a Preload /doc/webpage/images/images in Dreamweaver. This need opens behavior face plate, add Preload /doc/webpage/images/images behavior, if pursue:
We can link finally two kinds 4 pieces of pictures that modal place needs to be used load beforehand, pursue as follows:
5, summary
I link a type with respect to introductory so much, cooperate to set the Hover condition that links a character, can achieve very beautiful result, specific page is browsed see here please, hope friends the train of thought above the basis, assorted innovation goes to link literal style morely. Remember, the style expresses an iceberg that treasure has in be just like a webpage to make, we just opened a corner with little iceberg today, the move such as more treasure you go digging.

No comments:
Post a Comment