Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Delay rendering of a region on a page APEX 4.2

HarryFFeb 27 2013 — edited Feb 28 2013
I 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 28 2013
Added on Feb 27 2013
5 comments
1,011 views