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
