PVII PowerToys
- Introduction and Overview
- Wrap DIV Tag
- Insert Comment Tag
- Insert IE Conditional Comment
- Insert Style Block
- Insert JavaScript Block
- Make Null Link
- Apply Return False
Insert JavaScript Block PowerToy
The Insert JavaScript Block PowerToy allows you to quickly insert a pair of JavaScript tags anywhere in your code. This makes it easy to create a new JavaScript code block. Simply right-click (control-click on the Mac) and select Insert JavaScript Block from the context menu. A new pair of style tags will be created.
Note: The Insert JavaScript Block PowerToy will only be available when you are in Code View, it will not be listed on the context menu when you are in Design View.
Creating a new JavaScript Block
-In code view, click on the section of the page where you would like to create the new style block, this is the insertion point.
Note: The Insert JavaScript Block PowerToy will be grayed out (unavailable) if you have selected any text or markup, it will only be available at an insertion point (no code or text selected).
-Right-click and select PVII PowerToys - Insert JavaScript Block

A new pair of JavaScript tags will be added to the page at the insertion point. Your cursor will be positioned inside the newly created script block, ready for you to enter your scripts.

User Notes
Use Care -This PowerToy will insert the JavaScript block at your current insertion point, wherever it is located. Be sure that the location will make sense to your code or html markup.
Undo -You can reverse the PowerToy insertion by using the Dreamweaver Undo feature (Edit - Undo). This will restore your markup to the state prior to the PowerToy insertion.
