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

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -