Hi all,
I follow the Install notes for the ArcGIS API for JavaScript™ (version 3.12) to install the API to my local (ArcGIS server).
The following steps had already been performed:
(1) the arcgis_js_api folder is put under C:\inetpub\wwwroot.
(2) add the new application arcgis_js_api in IIS manager default web site.
(3) add init.js in default web site default document.
(4) restart IIS manager default web site
(5) modify the service directories as in the following picture:

I can access the api through browser:

The sample html is :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Simple Map</title>
<link rel="stylesheet" type="text/css" href="http://localhost/arcgis_js_api/library/3.12/3.12/dijit/themes/tundra/tundra.css"/>
<link rel="stylesheet" type="text/css" href="http://localhost/arcgis_js_api/library/3.12/3.12/esri/css/esri.css" />
<script type="text/javascript" src="http://localhost/arcgis_js_api/library/3.12/3.12/init.js"></script>
<script type="text/javascript">
dojo.require("esri.map");
function init() {
var myMap = new esri.Map("mapDiv");
var myTiledMapServiceLayer = new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/NGS_Topo_US_2D/MapServer");
myMap.addLayer(myTiledMapServiceLayer);
}
dojo.addOnLoad(init);
</script>
</head>
<body class="tundra">
<div id="mapDiv" style="width:900px; height:600px; border:1px solid #000;"></div>
</body>
</html>
When I tested this sample html, I always got a page with a blank window. Can anybody tell me what is
wrong with my installation of the API for javascript?
My pc has the internet access.