Delay rendering of a region on a page APEX 4.2
HarryFFeb 27 2013 — edited Feb 28 2013I have a page with two regions. the second is causing a huge delay. I want to delay the rendering of the second region so the users can see the first region immediately. A button to display the region is an option. I tried this on page load:
var t=setTimeout(function(){display()},3000)
function display () {
if ($v('P13_HIDE') == 'Y') {
$x('P13_HIDE').value = 'N';
doSubmit();//
}
}
I used the P13_HIDE to conditionally display the second region. It worked but I have another problem. The submit is interfering with a plug in we use to make all pop-ups modal. So I need to do this with javascript to avoid a submit.