Please turn on JavaScript. To find out how to do this visit the WebWise JavaScript guide.

Version 1.1 About

What's new?

This version of Glow adds some simple features that won't get anyone too excited, but should make it easier to build websites without being forced to include too many additional JS files.

Flash

Our new embed module allows you to detect and embed Flash movies quickly and simply. You can specify the major version number of the Flash plugin you require (e.g. "9"), or be more fine grained if you require (e.g. "9.0.12").

You can also specify error messages to use in case the user does not have the required version of Flash, or does not have it at all.

Forms

The new forms module let you add validation to forms by defining constraints and limits to the values that are permitted in your form fields, and to display error messages in cases where those values fall outside those limits. A simple event model is used to indicate when forms become invalid.

We have provided a default scheme for inserting validation error messages into the document, but it's up to you to style these messages in a fashion appropriate to your site. If our default scheme doesn't suit your reuirements, you can easily override it with your own, with full access to the same events and validation state information.

Changelog

1.1.1

  • FIX: Some incorrect documentation
  • FIX: glow.forms - Improved error handling
  • FIX: glow.embed.Flash - Allow version detect for debug builds of Flash plugin
  • FIX: glow.embed.Flash - Removed default background colour, will use movie's bg colour by default

1.1.0

API Quick Reference

JavaScript is required to use the quick reference

Related links

BBC © 2014 The BBC is not responsible for the content of external sites. Read more.

This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.