Wednesday, October 7, 2009

DreamWeaver advanced application, pattern plate and library

DreamWeaver4 came, have bit of taste that the wolf came to quite. "What, did 4 version emerge? I 3 had not been familiar with! " really, of software change rate is rapidder and rapidder, new software receives -- it is Flash5.0 begins above all, have Photoshop6.0 next, mix to the closest DreamWeaver4.0 again Fireworks4.0, have the feeling of bit of be unable to stand really. What this secondary says is not the new function of DreamWeaver4.0, contrary, those who want the introduction is the person is all the time in DW take delight in talking about, begin some functions from 2 version -- pattern plate and library.
DW2.0 begins to contend with Frontpage98, had glitter to nod very bright pattern plate and library at that time, very cannot see pair of pattern plate and library with 4 version to the 3 version later all the time regrettablly occasionally of how many improve, probably MACROMEDIA company has felt its function is quite strong! But in applying actually, use pattern plate and library still have certain skill.
One, what to define into the library?
When a lot of tutorials speak of a library, suggest the library of copyright information make it of a page foot, when when wanting to revise copyright, want to revise a library only, update all pages with respect to what can go to the lavatory. Be in besides application page foot, the library still can apply in a lot of place actually, be like navigation. Citing says, the navigation of 21cn homepage, the column such as the computer that is in Banner to fall, recreation is OK consummate library. Still have column name, if want to large to website adds a column and have,do not change integral color, with the library very convenient.
The library still can apply in a lot of places, be like a picture, character (it is specific name normally) , anyhow, think before program website where is OK well library of find sth useful, safeguard later so rise very convenient.
2, why cannot expre ss CSS to library definition style?
This is the problem that when just contacting a library, often encounters. Want to solve this problem to want to understand how the library works above all. In the page that used a warehouse in, examine source code (fortunately DW4 can examine source code and working area at the same time directly) , the place that you can discover use library was defined by DW mark; And the source code bell in the library, do not include ticket, and definition of CSS just room depends on between.
Knew the problem is in, solved very easily. When use library, add the code of CSS at the same time in the source code bell of the library, such libraries also can define CSS.
3, after building a file from pattern plate, why cannot join CSS?
After defining file of a CSS, all files in the website join this file, the skill that often uses at this moment. Dan Ji is strange when, the file that use pattern plate builds, cannot use CSS actually.
Same from source code proceed with. The metropolis when founding pattern plate normally defines a list or a picture is fed can edit area. Crucial also when here: DW can edit area to be besides the definition outside, other and uniform cannot edit! Also when say, if defined form to be,can edit area, so only
Between when can change!
The settlement of such problems method mixes a problem is similar: In good CSS of the predefine in pattern plate, output CSS file next, (.CSS file can be founded directly when the new function in DW4) join in pattern plate directly CSS file, such OK.
Using the problem that encounters in pattern plate and library actually, can solve through source code very much. This also showed an issue: Although what see namely how the editor basis of earning is powerful, a lot of issues still should be solved through source code. Fortunately when DW4 is new added such function: Examine code area and working area at the same time, when such webpages that make more handy. Of course DW4 still has other a lot of new functions, we study slowly after.

No comments:

Post a Comment