How to show modal popup over ActiveX object?

I have a modal popup extender and an ActiveX object control on my page, but a popup is shown below the object when I show it. How to show popup over object? this is my code:

 <object id="lablab" clsid="clsid:...." width="100px" height="120px"> </object> 
+4
source share
2 answers

: wrap it around a DIV TAG, then you can easily intercept the event move above the div and call whatever code you want

 <div style="width:100px; height:120px;"> <object id="lablab" clsid="clsid:...." width="100px" height="120px"> </object> </div> 
0
source

I use a popup in a div, but I can’t show it in a popup because the object is stronger than the popup :) and the popup below the object. I use the iframe tag! and set the z-index property, which pops up over the iframe, iframe is stronger than the object

 <asp:Panel runat="server" ID="PnlRefer" Width="300px" Style="background-color: #D6D6D6; padding-bottom: 5px; min-height: 145px; display: block; position: absolute; top: -100px;">//my popup <iframe src="" width="297px" style="position: fixed;z-index:-1; height:303px;" scrolling="no"></iframe> <div style="z-index: 1;height: 300px;Width:300px;"> ...//content of popup </div> </asp:Panel> 
0
source

Source: https://habr.com/ru/post/1441059/


All Articles