my question is how do I open a external HTML page in SenchaTouch when I click at the ItemDisclosure?
This is my Code:
if(subListContainerID){
var that = this;
onItemDisclosure = function(){
that.extApplication.views.viewport.setActiveItem(
SenchaTantorController.extApplication.views[subListContainerID], {
type: 'slide',
direction: 'left'
});
}
}else{
onItemDisclosure = function(){
alert('!no item to diclose');
}
}
In the else it should open the external html page.
Thanks for your help
Why can’t You use the javascript code
inside the onItemDisclosure function() . It will open the specified file in external browser. If you want it inside the app , you can use child browser plugin for phonegap.