Shadowbox supports the following browsers:
Quirks mode is not supported in any browser, but that doesn’t necessarily mean that it won’t work. This means that you need to use either a strict or transitional DOCTYPE in order to use Shadowbox. For example, placing one of the following snippets at the very top of your HTML page (without any preceding space or comments) will tell browsers that you want that page to be rendered according to web standards:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
For more information on using DOCTYPEs and why you should always use them, read this article.
- MooTools (requires 1.2 Core)
- Dojo Toolkit
- Yahoo! User Interface Library (requires yahoo-dom-event.js)
- Ext (requires ext-core.js)
If you plan on using Shadowbox together with one of these libraries, simply select the appropriate adapter when you download the code.
Flash video is supported via the JW FLV Player. Although Shadowbox supports many types of video, it is recommended that all video be displayed in this format because it will have the most uniform result across different platforms. Please see the FAQ for more information on using the JW FLV Player with Shadowbox.
Shadowbox uses a smart plugin detection mechanism that automatically detects whether or not the client is capable of displaying linked content. For movies that can be played using either QuickTime or Windows Media Player, Shadowbox will automatically detect which one is installed and use it. In the case of a missing plugin, Shadowbox can either display a useful error message with a link to the appropriate plugin download page (the default behavior), or it can ignore the gallery piece altogether. See the
handleUnsupported option for more details on how to configure this behavior.