₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,479 members, 8,445,660 topics. Date: Wednesday, 15 July 2026 at 11:01 AM

Toggle theme

How To Preload A Webpage Before Opening Child Browser - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingHow To Preload A Webpage Before Opening Child Browser (1002 Views)

1 Reply (Go Down)

How To Preload A Webpage Before Opening Child Browser by FincoApps(op): 2:35pm On Sep 05, 2015
Guys please I need a suggestion on how this can be done. I want my Phonegap application to load a webpage containg random ads in the background and as soon as its done loading, a child browser pops up showing the ads. I don't want the child browser to pop up when when the page has not completely loaded.

Thanks
Re: How To Preload A Webpage Before Opening Child Browser by spikesC(m): 7:00pm On Sep 05, 2015
Make the pop up a callback function to the loader
Re: How To Preload A Webpage Before Opening Child Browser by JackOfAllTrades: 7:08pm On Sep 05, 2015
I think you can do this with the inAppBrowser plugin, but I don't know if it supports background activity
Re: How To Preload A Webpage Before Opening Child Browser by FincoApps(op): 4:53am On Sep 06, 2015
Does this mean the popup can accept parameters that is not a URL
spikesC:
Make the pop up a callback function to the loader
Re: How To Preload A Webpage Before Opening Child Browser by FincoApps(op): 4:53am On Sep 06, 2015
I will check about the inAppBrowser
JackOfAllTrades:
I think you can do this with the inAppBrowser plugin, but I don't know if it supports background activity
Re: How To Preload A Webpage Before Opening Child Browser by spikesC(m): 2:17pm On Sep 06, 2015
FincoApps:
Does this mean the popup can accept parameters that is not a URL
Errrm, you code your own pop up and it can do what ever you want.
Java script allows binding functions as callbacks rather than running them Async
Re: How To Preload A Webpage Before Opening Child Browser by FincoApps(op): 10:11pm On Sep 06, 2015
The thing is that I'm trying to display ads so I felt the best way to do this is by making it load as a webpage. But I've been forceed to use other methods
spikesC:
Errrm, you code your own pop up and it can do what ever you want.
Java script allows binding functions as callbacks rather than running them Async
1 Reply

How Can I Export From Webpage To Excel?Code To Link Webpage Please!!!Webpage To Pdf Conversion# Urgent Help234

Job Offers For DevelopersHow To Transfer Samsung Galaxy Note7 Data To Iphone 7 Plus ?Want To Be A Web Developer?