问题描述
在下面的页面上(单击PowerPoint嵌入的链接,该链接已使用onedrive提供的embed标签完成),我希望使PowerPoint嵌入不可单击,并在“鼠标悬停时弹出”消息“。
https://www.testandtrack.io/index.php/studenttest/test/3/115/357
因此,在嵌入物上或其周围的任何位置单击时,都会出现一条消息,提示“请注册”,如果单击该嵌入物,则它无响应且无法访问。
任何人都可以建议实现此目标的最佳和最简单方法。 JavaScript,CSS或PHP。
我在检查元素工具中注意到了其中的一些代码,但是没有找到任何文档来进行更改以适应我的目的。另外,问题是当我尝试在代码中找到相同的代码(如在检查工具中)时,它不存在。嵌入的iframe代码如下,没有这样的代码(例如msosp-touch等)
<div id="screenReaderDetectionDiv" role="presentation" aria-hidden="true"></div>
<div class="InnerFrame InnerFrameGradient"><div role="alert" style="color: rgb(0,0); max-width: 0px; max-height: 0px; z-index: -1; overflow: hidden;">
</div><div class="FishBowlPanel" id="FishBowlPanel" tabindex="0" style="left: 0px; top: 0px; width: 298px; height: 302px;"><div class="SlidePanel" id="SlidePanel" style="width: 298px; height: 302px; visibility: visible; left: 0px; top: 0px;">
我尝试了一些事情,包括:
<div id="browserLayerViewId" style="visibility: visible;
将以上内容更改为不可见,但这没有用。这是可编辑的还是需要外部控制?
iframe嵌入代码:
<p><iframe frameborder="0" height="300" scrolling="no" src="https://onedrive.live.com/embed?cid=D8E14425FD8A2BB2&resid=D8E14425FD8A2BB2%21285&authkey=AIhTrrcYiKWIE5I&em=2" width="400"></iframe></p>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)