magazine resources subscribe about advertising

New Architect Daily
Commentary and updates on current events and technologies

CMP Media E-Book

Download your copy today.

Research
Search for reports and white papers from industry vendors and analysts.

This Week at NewArchitect.com Subscribe now to our free email newsletter and get notified when the site is updated with new articles







Day of Defeat Online Gaming

 New Architect > Archives > 1998 > 07 > Script Junkie  

Designing Smart Pop-up Windows

By Bart Marable and Raymond Simmons

One of the most challenging issues facing Web designers is bringing fresh content to the attention of visitors without letting this new content become stale or distracting for repeat visitors. For instance, a company may want to announce a recent expansion to site visitors through an eye-catching pop-up window or banner, but it probably does not want returning visitors to have to read the same announcement again and again.

In an effort to solve this ongoing problem, we have developed a way to use JavaScript in combination with cookies to create smart pop-up windows. Smart pop-up windows can bring unread news to a new visitor's attention, but keep this information tucked away, out of the way of returning visitors who have already had an opportunity to review the window's contents.

JavaScript pop-up windows, which began appearing on the Web in mid 1996, are new browser windows that are opened through JavaScript instructions included in the HTML document. Most of the sites that employ pop-up windows do so in one of two ways. Some sites open a full-size window automatically as the user enters the site, a method that allows designers to control both the size and the features of the browser window in which the contents of the site will be displayed. Other sites use a smaller pop-up window that acts as a floating navigation tool above the main content browser window. Selecting items in the pop-up window then updates the contents in the main browser window as a type of navigational "remote control."




  Day of Defeat Online Gaming

home | daily | current issue | archives | features | critical decisions | case studies | expert opinion | reviews | access | industry events | newsletter | research | careers | info centers | advertising | subscribe | subscriber service | editorial calendar | press | contacts


Copyright © 2006 CMP Media, LLC Read our privacy policy, your California privacy rights, terms of service.
SDMG Web sites: BYTE.com, C/C++ Users Journal, Developer Pipeline, Dr. Dobb's Journal, DotNetJunkies, MSDN Magazine, Sys Admin,
SD Expo, SD Magazine, SqlJunkies, The Perl Journal, Unixreview, Windows Developer Network, New Architect

web2