sample skeleton application with dojo toolkit & arcgis js api v 4.30
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
651 B

<html>
<head>
<title>dojo.hash() with &lt;base&gt; test</title>
<script>
var ready = false;
</script>
<script type="text/javascript" src="../../../dojo.js" ></script>
<script>dojo.require('dojo.hash');</script>
<base href="http://dojotoolkit.org/">
<script>
dojo.ready(function(){
ready = true;
});
</script>
</head>
<body>
<h1>dojo.hash() with &lt;base&gt; test</h1>
<p id="_location"></p>
<div style="padding: 20px">
<button id='sethash' onclick="dojo.hash('#myhash1')">dojo.hash('#myhash1')</button>
<button id='sethashtrue' onclick="dojo.hash('#myhash2', true)">dojo.hash('#myhash2', true)</button>
</div>
</body>
</html>