Re: How do I mimic the "Silverlight" popup behavior that MS is using?

Tech-Archive recommends: Speed Up your PC by fixing your registry



Thanks Phil,

Great link! More info than I had hoped for.

Of course Microsoft would want us to know how to display the same type of
advertising they use along with the seamless approach to installing
Silverlight. Certainly as a fledgling (of almost a year now) ASP.NET
programmer, I would want to use the latest "buzzword" tools.

When MS sees $$$ the quality of their developer support really goes up a
notch or two ;-)

Oops, I'd better not bite the hand that feeds me...

Thanks again.

"Phil Johnson" <PhilJohnson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:06551D38-6487-4392-BE76-1BC96A96D9DD@xxxxxxxxxxxxxxxx
You might find some sample code for the pop up at the links from this
page...

http://weblogs.asp.net/scottgu/archive/2007/10/30/optimizing-the-silverlight-install-experience.aspx

--
Regards,

Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com


"John Kotuby" wrote:

Hi all,
I would like to mimic the same behavior that happens on many of
Microsoft's
web pages where the "Install Microsoft Silverlight" popover box appears.
That would include the "fogging" and apparent disabling of the underlying
page, and the fact that the box does not have any navigation controls, as
it
is apparently not a Window.

I am using VB and ASP.NET 2.0 but I could upgrade to VS 2008 if necessary
as
I like the JSON/Web Service model of AJAX better (even though I have MUCH
to
learn about it).

I have done some similar things, but in a much more simplistic fashion. I
include a DIV area on the page in which I set the style="visibility:
hidden;
position: absolute; top: 40%; left: 40%". Then in javascript I simply
grab
the DIV as an object by its ID and:

var theDiv = document.getElementById('divHidden');
theDiv .style.visibility = "visible";

The once-hidden DIV shows up over top of the previously visible page.
But I am certainly missing some steps.
I don't know how to "disable" the now underlying page nor "blur" it with
the
smoke effect.

Smoke and Mirrors I suppose :-)

If I can get a similar effect in VS 2005, for now that would be
preferable.

Thanks for any help with this...





.