Zeronese, Inc.
Home
Help & Support
Contact Us
Webmaster ResourcesArticle Details
 

Macromedia Dreamweaver MX Snippet: Create It and Use It!

Date Added: July 05, 2004 11:59:38 PM
Author: Kay Zetkin
Category: Tips and Tutorials: Dreamweaver Tips and Tutorials

The Macromedia Dreamweaver MX have these powerful new addition to its toolset – introducing, Snippets! Do you often use blocks of code? Well, snippets make it easy to save it or put it over the same conversion on a block already written on your page. It also allows you to save and reuse chunks of code over and over. Snippets save you time and effort in maintaining a large Web site. You can use snippets to store things like:

Headers and footers

Logos

Scripts

...

In this tutorial, you will get to know how to create snippets and use them to your heart’s content! Creating snippets are not that difficult and would take only at least 5 minutes of your time to do…

Of course, you need to have the Macromedia Dreamweaver MX downloaded and ready on your PC and then, let’s start creating snippets! Here’s how…

Upon opening Dreamweaver MX, click “Snippets” in the Window menu. You can also access it by holding down the shift key and press F9 (Shift-F9). A number of useful snippets are already pre-installed in Dreamweaver. Then, highlight the text or code you wish to turn into a snippet and click on the New Snippet icon below the snippets window. This icon looks like a file with a plus sign. Assign a title to your chosen snippet, plus, provide it with a concise description.

Depending on what you prefer, if the snippet is to wrap around text on the page, choose ""Wrap selection"" and if you want a single block, choose ""Insert Block"". Then, add the code for the snippet, if you did not have any code highlighted. Whether you prefer it, you could also choose how you want the preview in the snippet pane to display – either as code or design. Lastly, click OK and you’re all done.

It would be very useful for you to check out the pre-installed snippets. There may be one or two there that can help you in managing your site!

Then, if you’re wondering how to use your newly created snippet, here’s a guide on how to use it: 1. Open the snippets tab through the same procedure given above, then click in the page where you want the snippet to be placed, in whatever view you prefer it: code or design; 2. Navigate to the snippet you want in the folders and double-click on the snippet to add it to your page.

It’s as simple as you’ve read it…So start creating your snippets now, and put them to good use! -30-


About The Author


Kay Zetkin discovered the pleasure of writing through her daily journals as a teen-ager. Writing in it helped sort out her thoughts, relieve her feelings and record what she observes of the world.

For her, writing is an effective tool to express your viewpoints... To write is already to choose, thus, writing should be done along with a critical mind and a caring soul. She hopes to become more professional, skilled and mature in her craft.

Aside from writing Kay likes to spend her time reading. Reading lets her travel to far-off imagined places and situations. She also learns a lot from books, especially from the socio-political and historical ones.

For comments and inquiries about the article visit http://www.ucreative.com

kzetkin02@gmail.com
 
RELATED ARTICLES & TUTORIALS
Creating Your Own Dreamweaver Template File

If you have built websites, you understand how frustrating it can be to have to update the look and feel of a lot of webpages.


Designing Websites with DreamWeaver

With Adobe® Dreamweaver®, you can quickly and easily design, develop, and maintain websites and web applications from start to finish.


Superior to Dreamweaver?

I've heard a lot of good comments regarding Macromedia's Dreamweaver site building tool.


Dreamweaver Templates -- How To Save 1000 Of Hours Using Them!

Now you may think “OK, you are going to talk about fancy web templates out there which may save my initial designing efforts”. No, I am going to talk about “how to make whatever template you choose a BIG-Time-Saver”.


How to Manage Your Extension through Dreamweaver MX

The latest version of Macromedia Dreamweaver, Dreamweaver MX works with a standalone program that is a wonderful assistant in managing your file extension. Macromedia Dreamweaver MX offers extensions to improve the functionality and scope of Dreamweaver.


 
Ratings Average rating: (null votes)
Comments

No Comments Yet.


Leave your comment:
Name or Website:
Email:
Comment
Visual Confirmation Security Code

*Enter the code shown:  


The views and opinions of authors expressed on Zeronese Webmaster Article Directory web sites do not necessarily state or reflect those of the Zeronese.net .