Cortel Cosmin
Posts: 0
Joined: Sat Jan 05, 2013 3:22 pm

childBrowser not running

You can see here

  • first image - start screen- and when i press the button-"BUTTON" is navigating to page - screen1- where is set up event on load to run javvascript:
    window.plugins.childBrowser.showWebPage('http://google.com');
  • second image is showing what i get after pressing the button
    Image
    Image
maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

childBrowser not running

Do you run the ChildBrowser code on load or click?

Cortel Cosmin
Posts: 0
Joined: Sat Jan 05, 2013 3:22 pm

childBrowser not running

On load.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

childBrowser not running

Needs to be on (button) click.

Cortel Cosmin
Posts: 0
Joined: Sat Jan 05, 2013 3:22 pm

childBrowser not running

ok - now is running - but not inside the the app page - i don't like to show the navigator bar - i like to be up the header of the app and this webview to run inside. Any sugestion?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

childBrowser not running

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

childBrowser not running

window.plugins.childBrowser.showWebPage(page, { showLocationBar: false });

Cortel Cosmin
Posts: 0
Joined: Sat Jan 05, 2013 3:22 pm

childBrowser not running

Thanks - it is ok now.

David6064062
Posts: 0
Joined: Sat Jul 20, 2013 1:34 pm

childBrowser not running

In my javascript console I get:
Uncaught TypeError: Cannot read property 'childBrowser' of undefined

When using

window.plugins.childBrowser.showWebPage('http://m.facebook.com');

on a button ?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

childBrowser not running

Did you test it on the device or in the browser?

Return to “Issues”