javascript - Make an item clickable in an iframe with style="pointer-events: none; cursor: default;" -
i have iframe looks this:
<iframe style="pointer-events: none; cursor: default;" src="####" width=320 height=50 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor='#000000'>...</iframe> inside iframe have element looks this:
<div id="trigger-container-80791" style="position: static !important;">...<div> nothing inside iframe clickable because of style="pointer-events: none; cursor: default;" there way have override style , 'clickable' adding kind of javascript in iframe? cannot modify attributes in iframe.
is there way have override style , 'clickable' adding kind of javascript in iframe?
no. pointer-events:none prevent mouse events (click, mousedown, etc) reaching iframe, there nothing hang javascript on.
see iframe pointer-events: none; div inside has pointer-events: auto;
Comments
Post a Comment