I just recently updated the navigation on my blog (http://www.jeffblankenburg.com) to be a nice Silverlight control, and realized that I was not really providing an optimal experience for those people that don’t have the plugin installed. So since I had to go through it, I thought I would share with you how simple this actually is.
When you add a new Silverlight control to your page, this is what the code will look like:
How To Add Your Non-Silverlight Content
Here’s all you need to do to get it to work. Inside the
How do I test this? I have the plugin installed!
That’s easy in IE8. Just go to:
Tools > Internet Options > Programs > Manage Add-ons
and choose the Silverlight plugin. You can temporarily disable it there. Great new feature. Here’s a picture of the screen (click to enlarge).
There you go. You can now create custom HTML to display for your users that have not yet installed the Silverlight plugin. I’d recommend letting them know they’re missing out on the full experience, however, or they will never find your cool Silverlight control.