GotFusion.com  Where your journey begins
Showcase your website at Fusion GalleriesSelect from Hundreds of Styles and Templates

 


 

Inserting External Scripts and Coding

There will come a time when you need to insert scripts or blocks of coding that were provided to you or you found. There are many script repositories such as Dynamic Drive and others. Many times these scripts require you to place a block of code within the head of a page and another block of code in the body where you wish the function the script provides to display on your page.

Inserting Scripts and Coding into the Head

If you only want the script to display on a single page.

  1. Press the Page View icon.
  2. Navigate to the page you want the script on.
  3. Press your F9 key to bring up the Layout Properties palette.
  4. Press the HTML button on the Layout Properties palette.
  5. Paste the block of code that is required in the document head between the head tags
  6. Press OK to close the HTML insert dialog box.
Fusion 11 and Newer Head Palette

Insert Head part of script at this location

Fusion 10 and Earlier Head Palette

Insert Head part of script at this location

Inserting Scripts and Coding into the Document Body

To insert the document body portion of the script.

  1. Draw a text box or single celled table on the page where you wish the script to display
  2. Hold your control key and press the T key to bring up the HTML insert dialog box
  3. Paste the portion of the script that goes into the document body into the dialog box
  4. Press the OK button to save and close the dialog box

Insert Head part of script at this location

You can drag the text box around on your page to position the script location. The script will not display until you generate your page and view the html in a web browser.

The HTML insertion dialog box marker will show up in the text box as a small blue circle with a T inside of it Hover over the HTML insert marker then click to open. To open the dialog box, move your cursor over the marker until the pointer turns into a link hand, then click.

Hover over the Insert HTML icon then click to edit

The HTML insertion dialog box will open again so that you can edit your script. When finished press the OK button to save and close the dialog box.



Return to the TOP of this page

Did you find this tutorial useful?
Do you want to help this resource stay online?
Then Start Receiving gotFusion Extended Support Today


|  Fusion  |  Web Design  |  Hosting  |  Resources  |  gotFusion Store  | 

Problems with this page?  

All content copyright © 2001 - 2011 gotFusion LLC. The name gotFusion and the gotFusion ® logo are registered trademarks of gotFusion LLC
Copyright, legal notice & privacy statement