Hi
I'm using phonegap 1.7 and child browser plugin. only for the first time child browser is working. After I closed the childbrowser(pressed done button) its not opening again when I tried to open it.
My code is this:
$("a[target=_blank]").bind('click', function(e) {
e.preventDefault();
var thisUrl = $(this).attr('href');
cb.showWebPage(thisUrl);
alert("click");
});When I click a link, child browser pop and show the page, I click "Done" and return, but when I click the link again or another link, child browser can't pop any more, but the alert "click" show every time.
p.s. I downloaded child browser plugin from here: https://github.com/phonegap/phonegap-plugins/tree/master/iOS/ChildBrowser
hello
always intialise the ChildBrowser.install();
Then its working fine,
function openBrowser(url){
childBrowser = ChildBrowser.install();
window.plugins.childBrowser.showWebPage(url);
}
happy coding :)Hello,
I am using Phonegap 1.8.1 and I can report the same problem. Anyone with a solution for this problem?
--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com

Hello again,
Hello again,I tried to follow your instructions and initialized every call of the childbrowser but with the same effect. It still only fires once.
--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com
can u post a code,
its working fine for iphone as well as on android
On Tue, Jun 19, 2012 at 5:50 PM, anurag gautam <anuragg...@gmail.com> wrote:
for what platform u are working ?
On Tue, Jun 19, 2012 at 5:48 PM, JB_APP <in...@images-words.de> wrote:
Hello again,I tried to follow your instructions and initialized every call of the childbrowser but with the same effect. It still only fires once.
--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com
can u post a code,
its working fine for iphone as well as on android
On Tue, Jun 19, 2012 at 5:50 PM, anurag gautam <anuragg...@gmail.com> wrote:
for what platform u are working ?
On Tue, Jun 19, 2012 at 5:48 PM, JB_APP <in...@images-words.de> wrote:
Hello again,I tried to follow your instructions and initialized every call of the childbrowser but with the same effect. It still only fires once.
--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com
$('#pageid').live('pagebeforeshow',function(){ });
try it will works..
..
--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com
I changed the document ready function to pageid......... it works but the child browser problem is still the same. The log messages have to do with the orientations I defined for the app. If I allow all orientations, the error in the log disapears. But also here, the child browser still opens only at the first time.