Page open and close in Android

abiorsem

New Member
I've created a main web page that I can view in my browser where there are 100+ links that open individual pages using JS interspersed in the main page. The main page has quite a bit of content that is scrollable. The individual pages, when opened clicking a link on the main page, display as new browser windows and I have a link in each page to close them using windows.close.When I create an Android APK using this (Cordova/PhoneGap) the behavior is different for opening/closing these new windows. Clicking a link on the main page takes you to the individual page. Clicking the Close link - nothing happens. The only way back to the main page is by hitting the device back button which takes you back to the main page but essentially reloads so you lose where you were when you went to look at an individual page. I'm thinking that the open function is actually navigating to the individual page off the main page.Are there commands specific to Android to do this? I found this how to create a popup window in android? but it appears that it is for only one "popup" and you'd have to create for every 100+ popups. Is there an equivalent to do this open/close in Android as in HTML/JS?Thanks.
 
Back
Top