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

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

am 01.02.2008 18:32:27 von JohnKotuby

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...

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

am 01.02.2008 20:30:19 von PhilJohnson

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...
>
>
>

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

am 01.02.2008 23:01:19 von JohnKotuby

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" wrote in message
news:06551D38-6487-4392-BE76-1BC96A96D9DD@microsoft.com...
> 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...
>>
>>
>>

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

am 01.02.2008 23:49:33 von PhilJohnson

No problems John,

Scott Guthrie's blog is a great source of info. I think he is the product
manager for .net at MS or something like that so anything new in the ASP.NET
world generally comes out on Scott's blog first.

My understanding is that MSN have the sole right to publishing internet
video from this years olympics and its all going to be streamed in
Silverlight (definitely more $$$ for MS ;-)

That should really increase the penetration of Silverlight installed on
clients round the globe.

--
Regards,

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


"John Kotuby" wrote:

> 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" wrote in message
> news:06551D38-6487-4392-BE76-1BC96A96D9DD@microsoft.com...
> > 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...
> >>
> >>
> >>
>
>
>