Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Displaying HTML Divs over Silverlight

Is it possible to have HTML appearing above embedded Silverlight?

like image 698
resopollution Avatar asked Apr 23 '09 16:04

resopollution


3 Answers

Yes but you need to set the windowless param to true on the Silverlight object tag so that it can render behind other HTML objects.

like image 171
AnthonyWJones Avatar answered Nov 20 '22 16:11

AnthonyWJones


Anthony is right - I've shown a code snippet here on my blog. You need to implement the in your object element and then use CSS Z-index.

like image 3
Michael S. Scherotter Avatar answered Nov 20 '22 16:11

Michael S. Scherotter


More info about layering HTML elements on top of or underneath your Silverlight control here: http://weblogs.asp.net/jgalloway/archive/2008/02/15/using-windowless-silverlight-controls-to-blend-html-and-silverlight-elements.aspx

Note that there are performance impacts in using windowless and/or transparent controls since it requires more frequent redrawing, so it's not recommended for animation or video playback.

like image 2
Jon Galloway Avatar answered Nov 20 '22 15:11

Jon Galloway