silverlight under the html RRS feed

  • General discussion

  • Hi,

     I have a silverlight object under html elements; but now hyperlinks doesn't work anymore. COuld not click on them; does someone know a solution?

    A example of my problem: http://marjolein.nxtsoft.nl/Default.aspx

     grtz Dave

    Saturday, March 8, 2008 9:26 AM

All replies

  • Hi Dave,

    The links seem to be working fine for me. Not sure if you did any changes so far. When thing to remember when overlaying and overlapping HTML and SL content is to set the isWindowless property.


    hope that helps


    Saturday, March 8, 2008 10:15 AM
  • if you look the site everything looked fine; but html above the silverlight object you cannot click on. Scroll the page totally down and then try to click on "Tjek" the an hyperlink. I can;t click on it.

    Saturday, March 8, 2008 11:13 AM
  • Hello, one thing to check is the ZIndex. Your html content's ZIndex must be higher than Silverlight's.

    Tuesday, March 11, 2008 7:35 AM
  • how can i set the z-index of the silverlight object?

    Tuesday, March 11, 2008 8:00 AM
  • You can use something like

          Canvas.Left="5" Canvas.Top="5" 
          Height="200" Width="200"
          Stroke="Black" StrokeThickness="10" Fill="Silver" />
          Canvas.Left="50" Canvas.Top="50" 
          Height="200" Width="200"
          Stroke="Black" StrokeThickness="10" Fill="DeepSkyBlue" />      
          Canvas.Left="95" Canvas.Top="95" 
          Height="200" Width="200"
          Stroke="Black" StrokeThickness="10" Fill="Lime" />     
    Tuesday, March 11, 2008 9:18 AM
  • is the zindex not only for the silverlight object; is that also working with the html?

    Tuesday, March 11, 2008 9:50 AM
  • No, you should set CSS's z-index. Just set the div that hosting your Silverlight plugin's z-index to, say, 1, and set the underlying html div's z-index to 2. When in windowless mode, Silverlight plugin respects CSS z-index property.

    Tuesday, March 11, 2008 10:56 PM
  • okay; i tried; my html is now :

    <div style="z-index: 100;">content renderd from Content Management System</div>

    <div style="z-index: 8";>SIlverlight</div>

     but still i can't hit the a hrefs

    Wednesday, March 12, 2008 3:59 AM