Disable scrollingarea plugin on over mouse radar

  • Hi,

    I've built a map over a scrolling area, and I'm trying to disable the movement once I'm interacting with the radar...

    I've tried something that is not working :

    Is a layer that with an action is set to the same position as the radar in order not to make it parent and get it over the radar

    Code
    <layer name="tapa_radar" 
    url="%HTMLPATH%/graphics/map/taparadar.png"  keep="true" 
    align="center" edge="center"	 
    onhover="set(layer[scrollmaparea].direction,none);"	 
    onout="set(layer[scrollmaparea].direction,h);"				
    enabled="true"				
    />


    but no way...


    any idea ?

  • The scrolling area is moving while I'm dragging the radar...

    I 've tried something but is not really working...

    you can see it here

    what I tried to do is next :

  • It seams that the ondown and onup events don't get triggered.
    But placing none and h between '...' solved the problem here in a little test.
    like:
    onhover="set(layer[scrollmaparea].direction,'none')"
    onout="set(layer[scrollmaparea].direction,'h')"

Jetzt mitmachen!

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