Page 2 of 4

childBrowser not running

Posted: Sat Jan 05, 2013 10:57 pm
by Cortel Cosmin

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

childBrowser not running

Posted: Sat Jan 05, 2013 11:04 pm
by maxkatz

Do you run the ChildBrowser code on load or click?


childBrowser not running

Posted: Sat Jan 05, 2013 11:05 pm
by Cortel Cosmin

On load.


childBrowser not running

Posted: Sat Jan 05, 2013 11:06 pm
by maxkatz

Needs to be on (button) click.


childBrowser not running

Posted: Sat Jan 05, 2013 11:22 pm
by Cortel Cosmin

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?


childBrowser not running

Posted: Sat Jan 05, 2013 11:26 pm
by maxkatz

childBrowser not running

Posted: Sun Jan 06, 2013 3:08 pm
by Emmz

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


childBrowser not running

Posted: Sun Jan 06, 2013 8:34 pm
by Cortel Cosmin

Thanks - it is ok now.


childBrowser not running

Posted: Sat Jul 20, 2013 7:10 pm
by David6064062

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 ?


childBrowser not running

Posted: Sat Jul 20, 2013 10:18 pm
by Igor

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