Show/hide a <div>from krpano

  • 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 !
    }

  • Hi,

    are you setting the wmode parameter to opaque or transparent?
    (this would be necessary to allow html elements to overlap the Flash element)

    but beside of that - it seems that this is not supported by the Android Flashplayer...

    best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!