Enter a query to search our site. Note that you can use "*" and "?" as wildcards. Enclosing more than one word in double quotes ("CSS Layout") will search for the exact phrase.

Project Seven dot com
Search
 

PVII PowerToys

Add to Cart - $18

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

Insert JavaScript Block menu flyout

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.

Newly added JavaScript Block

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.

Add to Cart - $18

See More PowerToys Features