How To

How to Add JavaScripts to a Web Page With FrontPage

Contributor
By eHow Contributing Writer
(3 Ratings)

JavaScripts are pieces of code designed to perform a specific action. For example, you can use a JavaScript code to make a box appear and ask a user for information, then insert that information into the page he or she views. This tutorial uses FrontPage 2000.

Difficulty: Moderately challenging
Instructions

Things You'll Need:

  1. Step 1

    Open the JavaScript file using a word processing program, such as Notepad or EditPad.

  2. Step 2

    Select the entire document by choosing Select All from the Edit menu or pressing Control+A. Select Copy from the Edit menu to copy the code.

  3. Step 3

    Start FrontPage and open the desired web. Open the page the JavaScript will be added to.

  4. Step 4

    Click on the HTML tab for the page, and position the cursor on the next line after the BODY tag.

  5. Step 5

    Select Paste from the Edit menu to paste the code.

  6. Step 6

    Choose Save from the File menu.

  7. Step 7

    Test the JavaScript by choosing Preview in Browser from the File menu.

Tips & Warnings
  • See "How to Learn About JavaScript," under Related eHows, for more information about JavaScripts.
  • There are many sources of free JavaScript code. See "How to Find Free JavaScripts Online," under Related eHows, for more information.
  • Most older browsers don't support JavaScript, so be sure to offer an alternative.

Post a Comment

Post a Comment
  • Have you done this? Click here to let us know.
I Did This

Related Ads

Internet
Virginia DeBolt,

Meet Virginia DeBolt eHow's Internet Expert.

Get Free Internet Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US

Demand Media
eHow_eHow Technology and Electronics