Thanks for your reply Aaron, I managed to find an example of the IFrame Shim method working on applets here: http://www.oratransplant.nl/2007/10/26/using-iframe-shim-to-partly-cover-a-java-applet/
So if the IframeShim class doesn’t work on applets I am assuming that I would have to edit the code to make it work? On Sep 22, 6:12 pm, Aaron Newton <[email protected]> wrote: > The Iframe shim trick is not a MooTools creation; it's been around for a > while and we just have an implementation of it. Further, it's not that our > version supports or does not support applets, it's whether this trick works > for them. I can't say I've ever tested it against an applet. I suggest doing > some googling to see if you can find any method by which z-index ordering > can work with applets in IE. If not, you'll have to set these items > visibility to hidden when your popup is displayed. > > On Tue, Sep 22, 2009 at 4:41 AM, 4fingers <[email protected]> wrote: > > > Hi, > > > I saw in the documentation that the IFrameShim class is only built for > > "obscuring select lists and flash objects in IE.” This is great but > > what about other ActiveX objects or applets? In my little test below > > it doesn’t seem to work for applets? > > > <!DOCTYPE html PUBLIC > > "-//W3C//DTD XHTML 1.0 Transitional//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > <html> > > <head> > > <script type="text/javascript" src="js/mootools-1.2.3- > > core.js">//</script> > > <script type="text/javascript" src="js/mootools-1.2.3.1-more- > > IFrameShime.js">//</script> > > <style type="text/css"> > > #divOnTop {display:block; width:150px; height:80px; > > background:blue; position:absolute; > > top:100px; left:80px; > > z-index:1000;} > > </style> > > </head> > > <body> > > <div id="divOnTop"> > > <p>This Div Should be on top</p> > > </div> > > <applet id="appletID" > > codebase=" > >http://java.sun.com/applets/jdk/1.4/demo/applets/Clock/" > > code="Clock.class" width="170" height="150"> > > </applet> > > <script type="text/javascript"> > > var myFloatingDivShim = new IframeShim('divOnTop', { > > display: true, > > browsers: true, > > name: 'appletID' > > }); > > </script> > > </body> > > </html> > > > Any ideas if I am doing something wrong or if things like applets > > aren’t supported? > > > Thanks
