Hi,
quick question :
is it possible to have in my xml :
i get error
in my main html, i have :
Code
<script>
// Set up Window for NW.js 0.12.3- and 0.13.0+
if (typeof(nw) == "undefined") {
window.nw = require('nw.gui');
}
//* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//### D05. Launch links in default browser (from UGUI.io)
//
//>Detects all links on the page with a class of `external-link`
// and sets them to open the link in the user's default browser
// instead of using NW.js as a browser which can cause issues.
function openDefaultBrowser () {
//Remove all click events before rebinding to prevent opening a link multiple times per click.
$('.external-link').unbind('click');
//Open URL with default browser.
$('.external-link').click( function (event) {
//Prevent the link from loading in NW.js
event.preventDefault();
//Get the `href` URL for the current link
var url = $(this).attr('href');
//Launch the user's default browser and load the URL for the link they clicked
nw.Shell.openExternal(url);
});
}
//Run once on page load
openDefaultBrowser();
</script>
Display More
as the krpano is encapsuled as an standalone app
thanks