Displaying Multimedia Content In A Floating Window Using FancyBox

While surfing the web you may have come across websites with images and other multimedia content that, when clicked, were displayed in a floating window that hovered abovethe web page. Perhaps it was a page that showed a series of thumbnail images of products for sale, where clicking on a thumbnail displayed the full sized image in a floatingwindow, dimming out the web page behind it.

Have you ever wondered how this was accomplished or whether you could add such functionality to your ASP.NET website?

In years past, adding such rich client-side functionality to a website required a solid understanding of JavaScript and the “eccentricities” of various web browsers.

Today,thanks to powerful JavaScript libraries like jQuery, along with an active developer community creating plugins and tools that integrate withjQuery, it’s possible to add snazzy client-side behaviors without being a JavaScript whiz.

This article shows how to display text, images, and other multimedia content in a floating window using FancyBox, a free client-side library.You’ll learn how it works, see what steps to take to get started using it, and explore a number of FancyBox demos.

There’s also a demo available for download that shows using FancyBox to display both text and images in a floating window in an ASP.NET website.

View the Original article

Leave a Reply

Your email address will not be published. Required fields are marked *