{"id":177,"date":"2009-07-07T13:06:18","date_gmt":"2009-07-07T18:06:18","guid":{"rendered":"http:\/\/hoolihan.net\/blog-tim\/?p=177"},"modified":"2012-02-13T21:44:36","modified_gmt":"2012-02-14T02:44:36","slug":"silverlight-and-z-index","status":"publish","type":"post","link":"http:\/\/hoolihan.net\/blog-tim\/2009\/07\/07\/silverlight-and-z-index\/","title":{"rendered":"SilverLight and Z-Index"},"content":{"rendered":"<p>When implementing a new SilverLight custom control, it was blocking menu popups (html \/ javascript) on the page.  I set the z-index of the div and object tags that contained SilverLight to no avail.  After a lot of googling, I found the following solution.<\/p>\n<p><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"ca-pub-7560642149740630\";\ngoogle_ad_slot = \"6639411836\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\n\/\/-->\n<\/script><br \/>\n<script type=\"text\/javascript\"\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/p>\n<p>Set the Windowless property to true.  In the case of manually adding SilverLight to the page, that results in the following child tag of the object tag&#8230;<\/p>\n<pre>\r\n&lt;param name=\"Windowless\" value=\"true\" \/&gt;\r\n<\/pre>\n<p>Update: I recently read <a href=\"http:\/\/www.amazon.com\/gp\/product\/0470650923\/ref=as_li_ss_tl?ie=UTF8&#038;tag=timhoosblo-20&#038;linkCode=as2&#038;camp=217145&#038;creative=399369&#038;creativeASIN=0470650923\">Professional Silverlight 4 (Wrox Programmer to Programmer)<\/a><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.assoc-amazon.com\/e\/ir?t=&#038;l=as2&#038;o=1&#038;a=0470650923&#038;camp=217145&#038;creative=399369\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" style=\"border:none !important; margin:0px !important;\" \/> and highly recommend it for developers working with SilverLight. Used copies are pretty affordable.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When implementing a new SilverLight custom control, it was blocking menu popups (html \/ javascript) on the page. I set the z-index of the div and object tags that contained SilverLight to no avail. After a lot of googling, I found the following solution. Set the Windowless property to true. In the case of manually [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,18,1,24],"tags":[41,82,87,88,69,85,86],"class_list":["post-177","post","type-post","status-publish","format-standard","hentry","category-aspnet","category-programming","category-uncategorized","category-web","tag-net","tag-asp-net","tag-css","tag-layout","tag-linkedin","tag-silverlight","tag-z-index"],"_links":{"self":[{"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/posts\/177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/comments?post=177"}],"version-history":[{"count":0,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/posts\/177\/revisions"}],"wp:attachment":[{"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/media?parent=177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/categories?post=177"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hoolihan.net\/blog-tim\/wp-json\/wp\/v2\/tags?post=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}