Disabling dragging in BasicUI

I am using the Raspberry Pi with a touch screen as a client for the OpenHab. The idea was to mount it in the wall and have the control center with a sitemap displayed in a browser.
The touch screen emulates the mouse. I noticed that quite often when I click on the item, it is perceived as a click-and-drag, so instead of togging the switch I am selecting the GUI item.

I wanted to disable the selection possibility for the sitemap items. I tried the following code:

<body ondragstart="return false;" 
      ondrop="return false;"
      onselectstart="return false;" >
 style="-moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;-o-user-select:none;">

The text here is immune for dragging. I wanted to achieve similar behaviour of the other elements of the GUI. How can I embed such a code into the sitemap, I tried Webview url= “/static/disableDrag.html”, but all I get is the iframe…