blob: 19288cfeb4c745ca4ca3d4d271edf9d14ef46d91 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<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 v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html. Contributors: IBM Corporation - initial API and implementation" name="copyright">
<title>Adding a JavaScript file to a project</title>
</head>
<body>
<h1>Adding a JavaScript file to a Project</h1>
<p>To add a JavaScript source file to a project follow these instructions:</p>
<p>
<ol>
<li>
<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>
</li>
<li>
<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>
</li>
<li>
<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>
</li>
</ol>
</p>
</body>
</html>