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

J

John Kotuby

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

John Kotuby

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

Phil Johnson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top