Continued from page 1
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 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 Window menu. You can also access it by holding down shift key and press F9 (Shift-F9). A number of useful snippets are already pre-installed in Dreamweaver. Then, highlight text or code you wish to turn into a snippet and click on New Snippet icon below 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 snippet is to wrap around text on page, choose "Wrap selection" and if you want a single block, choose "Insert Block". Then, add code for snippet, if you did not have any code highlighted. Whether you prefer it, you could also choose how you want preview in 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 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 snippets tab through same procedure given above, then click in page where you want snippet to be placed, in whatever view you prefer it: code or design; 2. Navigate to snippet you want in folders and double-click on 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-
For comments and inquiries about article visit http://www.ucreative.com
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.