Steve,You've done it. I used your suggestions and added those lines of code code to the default.htm starting with this one:
dojo.byId('divLoadMessage').innerHTML = responseObject.SplashScreenMessage;
dijit.byId('dialogLoadMessage').show();
It now looks like this in the Public Comment App:
esri.config.defaults.io.proxyUrl = "proxy.ashx";
esriConfig.defaults.io.alwaysUseProxy = false;
dojo.xhrGet({
url: "Config.txt",
handleAs: "json",
preventCache: true,
load: function (responseObject, ioArgs) {
var mapExtent = responseObject.DefaultExtent;
var zoomExtent = mapExtent.split(",");
var startExtent = new esri.geometry.Extent(parseFloat(zoomExtent[0]), parseFloat(zoomExtent[1]), parseFloat(zoomExtent[2]), parseFloat(zoomExtent[3]), new esri.SpatialReference({ wkid: 2269 }));
map = new esri.Map("map");
dojo.byId('divLoadMessage').innerHTML = responseObject.SplashScreenMessage;
dijit.byId('dialogLoadMessage').show();
hasCustomRenderer = responseObject.CustomRenderer;
rendererColor = responseObject.RendererColor;
map.setExtent(startExtent);
locatorURL = responseObject.Locator;
defaultAddress = responseObject.DefaultAddress;
helpFileURL = responseObject.helpURL;
defaultCmnt = responseObject.DefaultCmnt;
devPlanLayerURL = responseObject.DevPlanLayer;
commentLayerURL = responseObject.CommentLayer;
And I added 'div' code to the bottom of the default.htm page as you suggested. <div id="dialogLoadMessage" dojotype="dijit.Dialog" style="width: 350px;">
<table>
<tr>
<td>
<div id="divLoadMessage" style="background: black; color: White;">
</div>
</td>
</tr>
<tr>
<td align="center">
<div class="divOk" onclick="dijit.byId('dialogLoadMessage').hide();">
OK</div>
</td>
</tr>
</table>
</div>
<div id="dojoStandBy" dojotype="dojox.widget.Standby" color="black">
</div>
</div>
</body>
</html>
The only part we missed was adding the 'SplashScreenMessage' code to the config.txt file. It now looks like this:
'CustomRenderer' : false,
'RendererColor' : "#1C86EE",
'SplashScreenMessage' : "<big><b>Land Use Public Notification</b> <br/> <hr/> <br/>The
<b>Land Use Public Notification</b> application allows local government staff to identify properties
within a given distance (buffer) of a subject property and generate mailing labels and/or a
structured text file for owners and occupants that fall within the buffer.<br/><br/>This application
is typically used by local planning and zoning officials, but can be used by any agency looking to
notify property owners and occupants of a formal action being taken. The process of public
notification allows adjoining or nearby property owners, and others, the opportunity to look at a
proposed development, consider the likely impacts the proposal may have on them, and provide
comment (either positive or negative) about the proposal prior to a decision being made.<big/><br/><br/>",
'BaseMapLayers' : [
{"Key": "parcelMap", "ThumbnailSource": "images/Parcel map.png", "Name" : "Parcels", MapURL:
"http://webags.co.washington.or.us/ArcGIS/rest/services/Washco_primary_basemap_SP/MapServer"},
{"Key": "hybridMap", "ThumbnailSource": "images/Imagery Hybrid.png", "Name" : "Imagery", MapURL:
"http://webags.co.washington.or.us/ArcGIS/rest/services/Washco_orthos2008_StatePlane/MapServer"}
]
}
So thanks a lot Steve. You really helped my colleague and I figure this out. Also, the splash screen automatically dims on its own - Bonus!Sincerely,Joe