DbleClick Javascript doesnt work on Touch screen

  • hello there,
    i use this plugin to stopDraw polygonal hotspot..
    #mce_temp_url#


    But unfortunely it doesn't work with Ipad iphone and all device with touchscreen.
    Does anyone cant help me ?

    i've search on the forum but i found only doucle click for hotspot/layer but not for plugins...

    this is the Code used !


    "var krpanoplugin = function()
    {
    var local = this,
    krpano = null,
    plugin = null,

    onDblClick;

    local.registerplugin = function(krpanointerface, pluginpath, pluginobject)
    {
    krpano = krpanointerface;
    plugin = pluginobject;

    if (krpano.version < "1.0.8.14" || krpano.build < "2011-03-30")
    {
    krpano.trace(3,"dblclick plugin - too old krpano version (min. 1.0.8.14)");
    return;
    }

    plugin.registerattribute("ondblclick","", function(arg){ onDblClick = arg }, function(){ return onDblClick; });

    krpano.control.layer.addEventListener("dblclick", handleDblClick, true);
    }

    local.unloadplugin = function()
    {
    krpano.control.layer.removeEventListener("dblclick", handleDblClick);

    plugin = null;
    krpano = null;
    }

    function handleDblClick(event)
    {
    krpano.call( onDblClick );
    }}"

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!