In my main file, where Krpano is embeded, i have a <div>
<div id="mydiv">
content
<a href="javascript:hidediv('mydiv')>Close</a>
</div>
This <div>is shown from Krpano by
js(showdiv('mydiv'));
the necessary javascript functions are :
showdiv(id) {
e = document.getElementById(id);
e.style.visibility ="visible");
}
hidediv(id) {
e = document.getElementById(id);
e.style.visibility ="hidden");
This works well on the web (safari, firefox) and on IOS (iphone, Ipad), but when viewing from and android broswer (Galaxy tab 10.1) the function showdiv() fire well and the <div> is visible, but cannot be hidden with hidediv(). It seems as if javascript is no longer working
Any suggestions will be appreciated !
}