title: JavaScript call `setTimeout` not working in Oracle Apex
body: <p>I am trying to run this code from this thread in Stack Overflow in Oracle ApeX and it looks as if the setTimeout call is not working as suppose to:</p>
  
  <pre><code>[see thread][1]
  
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;title&gt;Dashboard Example&lt;/title&gt;
  &lt;style type="text/css"&gt;
  body, html { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; }
  iframe { border: none; }
  &lt;/style&gt;
  &lt;script type="text/javascript"&gt;
  var Dash = {
      nextIndex: 0,
  
      dashboards: [
          {url: "http://www.google.com", time: 5},
          {url: "http://www.yahoo.com", time: 10},
          {url: "http://www.stackoverflow.com", time: 15}
      ],
  
      display: function()
      {
          var dashboard = Dash.dashboards[Dash.nextIndex];
          frames["displayArea"].location.href = dashboard.url;
          Dash.nextIndex = (Dash.nextIndex + 1) % Dash.dashboards.length;
          setTimeout(Dash.display, dashboard.time * 1000);
      }
  };
  
  window.onload = Dash.display;
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;iframe name="displayArea" width="100%" height="100%"&gt;&lt;/iframe&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>How can I get this call to work in Oracle ApEx v3.0.1?</p>