prevent moving text while click and move 'a href' tag inside the iframe

I have created an iframe and loaded a html page in it. The page consists for links using <a href=''>. When I click and move over the links, the text begins moving along with mouse pointer.

Answers


You need to set draggable attribute to false. By default <a> elements have draggable="true". Of course you'll need access to the HTML, if you're calling external links not much you can do. Like this:

<a draggable="false" href=''></a>

Need Your Help

VBA code to ignore error if sheet from array not exist

excel vba excel-vba

I am trying to combine specific sheets to one sheet from workbook. Challenge here is sheets from array might not be available all the time. so the macro should ignore those and move to next sheet t...

Is it kEatSpeed or kSpeedEat?

language-agnostic variables naming

I have a bunch of related constants that are not identical. What's the better way to name them?