blob: fdd51541b82ce295ee3d59c33ee20650ad119e61 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../book.css" rel="STYLESHEET" CHARSET="ISO-8859-1" TYPE="text/css">
<link rel="stylesheet" type="text/css" href="../content/PLUGINS_ROOT/PRODUCT_PLUGIN/book.css" >
<meta content="Copyright (c) 2000, 2010 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at Contributors: IBM Corporation - initial API and implementation" name="copyright">
<title>Adding a JavaScript file to a project</title>
<h1>Adding a JavaScript file to a Project</h1>
<p>To add a JavaScript source file to a project follow these instructions:</p>
<p>Right-click on the project and select <b><i>New</i></b> --> <b><i>Other</i></b></p>
<p><img src="./img/newjs/1.jpg"></p>
<p>In the New Wizard navigate to the <b><i>Web</i></b> Folder and expand it to reveal the <b><i>JavaScript</i></b> entry. Select <b><i>JavaScript</i></b> and click <b><i>Next</i></p>
<p><img src="./img/newjs/2.jpg"></p>
<p>Type a file name name in the <b><i>File name</i></b> field and click <b><i>Finish</i></b></p>
<p><img src="./img/newjs/3.jpg"></p>