Silverlight 3: HTML dropdown menus fall behind Silverlight

If when you hover over the dropdown menus in your website and find that they are disappearing behind your Silverlight media elements in the page making it impossible to click on the hidden menu items, there is a simple solution. You need to activate the ‘windowless’ mode for all Silverlight media elements which are within reach of your dropdowns.
To do this just add the following parameter to your object markup for the Silverlight element.

<param name="windowless" value="true"/>

Your object markup should now look something like this:

 <object data="data:application/x-silverlight-2," type="application/x-silverlight-2"
            width="950px" height="665px">
            <param name="windowless" value="true"/>
            <param name="source" value="URI_TO_SILVERLIGHT_FILE" />
            <param name="onError" value="onSilverlightError" />
            <param name="minRuntimeVersion" value="3.0.40624.0" />
            <param name="autoUpgrade" value="true" />
            <a href="" style="text-decoration: none">
                <img src="" alt="Get Microsoft Silverlight"
                    style="border-style: none" />
        <iframe id="_sl_historyFrame" style="visibility: hidden; height: 0px; width: 0px; border: 0px"></iframe>

Published by

Tim Clark

Experienced Business Owner, Chief Information Officer, Vice President, Chief Software Architect, Application Architect, Project Manager, Software Developer, Senior Web Developer, Graphic Designer & 3D Modeler, University Instructor, University Program Chair, Academic Director. Specialties: Ruby, Ruby on Rails, JavaScript, JQuery, AJAX, Node.js, React.js, Angular.js, MySQL, PostgreSQL, MongoDB, SQL Server, Responsive Design, HTML5, XHTML, CSS3, C#,, Project Management, System Design/Architecture, Web Design, Web Development, Adobe CS6 (Photoshop, Illustrator)

One thought on “Silverlight 3: HTML dropdown menus fall behind Silverlight

  1. Hi, I came across this blog post while looking for help with fixing Microsoft Silverlight. I have recently switched internet browser from Chrome to Microsoft IE 6. After the change I seem to have a problem with loading sites that use Microsoft Silverlight. Every time I go on a website that needs Microsoft Silverlight, my browser does not load and I get a “npctrl.dll” error. I cannot seem to find out how to fix the problem. Any help getting Microsoft Silverlight to function is very appreciated! Thanks


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s