Skip to main content
Home Forums Silverlight Programming Programming with JavaScript Firefox: windowless Silverlight control within DIV with style { overflow: auto; }
0 replies. Latest Post by memoryleak on July 14, 2009.
(0)
memoryleak
Member
0 points
5 Posts
07-14-2009 9:46 AM |
Hello,I have a simple page containing a Silverlight control nested within a DIV with the CSS 'overflow' property set to 'auto':
<body> <div id="Dummy" style="height: 50px;"></div> <div style="overflow: auto;"> <object height="100px" width="100px" id="Object" data="data:application/x-silverlight," type="application/x-silverlight"> <param value="transparent" name="background"/> <param value="True" name="windowless"/> <param value="ClientBin/SilverlightApplication4.xap" name="source"/> </object> </div>
</body>
When setting the 'windowless' parameter of the Silverlight control to 'true', the control's upper n pixels do no longer respond to any mouse event (where n is the height of the Dummy DIV). If n exceeds the height of the control, it becomes completely static. In the example above the upper half of the control does not respond to any click or mousemove or whatever. In IE everything works fine. Has anybody encountered the same thing? This bothers me for a long time now and any help would be very appreciated...