Skip to Content
Designing Web Interfaces
book

Designing Web Interfaces

by Bill Scott, Theresa Neil
January 2009
Intermediate to advanced
332 pages
8h 30m
English
O'Reilly Media, Inc.
Content preview from Designing Web Interfaces

Chapter 5. Overlays

Overlays are really just lightweight pop ups. We use the term lightweight to make a clear distinction between it and the normal idea of a browser pop up. Browser pop ups are created as a new browser window (Figure 5-1). Lightweight overlays are shown within the browser page as an overlay (Figure 5-2). Older style browser pop ups are undesirable because:

  • Browser pop ups display a new browser window. As a result these windows often take time and a sizeable chunk of system resources to create.

  • Browser pop ups often display browser interface controls (e.g., a URL bar). Due to security concerns, in Internet Explorer 7 the URL bar is a permanent fixture on any browser pop-up window.

    If Orbitz used a browser pop-up window for its calendar chooser (it does not), this is how it might look
    Figure 5-1. If Orbitz used a browser pop-up window for its calendar chooser (it does not), this is how it might look

By using either Flash or Ajax-style techniques (Dynamic HTML), a web application can present a pop up in a lightweight overlay within the page itself. This has distinct advantages:

  • Lightweight overlays are just a lightweight in-page object. They are inexpensive to create and fast to display.

  • The interface for lightweight overlays is controlled by the web application and not the browser.

  • There is complete control over the visual style for the overlay. This allows the overlay to be more visually integrated into the application’s interface (compare Figure 5-1 and Figure 5-2).

    Figure 5-2. Orbitz ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Designing Interfaces

Designing Interfaces

Jenifer Tidwell

Publisher Resources

ISBN: 9780596155353Errata Page