Sutherland Studios

X2 Online Crosswords - Advanced Design Options

X2 User Guide

  • Home

  • Quick Start
    How to get your online crossword up and running right away

  • Advanced Design
    How to make your crossword tie in with your site design

  • Trouble-Shooting
    Help with any niggly file problems

  • Glossary
    A complete, illustrated guide to what all the parameters in X2 do

X2 gives you complete control over how the crossword looks on your web site. You can specify everything from the main background and border colours, to the colour of the letters and grid lines. You can add a logo to the title, and choose which buttons to show, and which ones to hide. Our aim is to help you get an interactive crossword that blends seamlessly with your web site.

First of all, here is a diagram that lists the main sections of an X2 Crossword :

Title Bar : Contains the Title text, a Tag line (eg copyright notice, which can also be an active link), and can contain a small image, such as a logo.

Background Colour : Specified as a single hex colour. The lighter tint which is used in the Title background and other text areas is calculated automatically from the base background colour.

Crossword : The crossword has many editable parameters, from the colour of the grid lines and numbers, to the size of cells and colour of the 'outs' (black squares).

Active Letter & Word : The colours of the active letter cell and word are an important part of your crossword design. Make sure the colours aren't too strong, overpowering the letters. Also be aware that up to 10% of men have red-green colour-blindness, so avoid combinations such as green letters on a red highlight (which would be a jarring combination in any case!).

Clue List : This is the text area which displays all the clues for the crossword. The arrows allow the user to scroll up and down through the list. The list will also scroll as necessary when words are highlighted in the crossword grid. Many aspects of the Clue List can be edited, including the colour of the text and the width of the clue list area.

Prompt Bar & Clue : The Prompt Bar displays the Prompt Clue, which is simply a repetition of the active clue. It can be used instead of the Clue List, however keep in mind that long clues will not wrap in the Prompt Bar. The Prompt Bar is also required for crosswords with picture clues. Any congratulatory message you want displayed when the crossword is complete can be included here. The Prompt Bar can be displayed at the top or bottom of a crossword.

Tool Area : This is the panel which displays the 5 available buttons. It can also contain a prompt clue. Any congratulatory message you want displayed when the crossword is complete can be included here.

Buttons : There are 5 buttons, although you're most likely to only display 3 or 4. Tidy will remove incorrect letters and incomplete words in the grid. Letter reveals the highlighted letter (ie a cheat). Word reveals the entire highlighted word. Reset clears the entire grid. The fifth button is mainly useful to you as a diagnostic tool - All will reveal the entire crossword at once, and is useful if you want to see how the crossword looks on completion.

Remember that you can also adjust the size of the crossword, by specifying the Cell Size and Spacing parameters. The letters will be automatically scaled to fit smaller or larger grids. You will need to mess around with the crossword height and width parameters in the APPLET tag, though.

The Title, Crossword, Prompt and Tool Bars are all aligned to the left margin.


Crossword Layout Variations

The following three examples of crossword layout all use the identical crossword file (x2-mini.xrd). The only thing that is altered here are the applet parameters within this HTML page.

The fourth crossword is an example of a Picture Puzzle with illustrated clues.


Example 1 has a vertical layout, with the Clue Area placed underneath the Crossword. There is no Prompt Bar or Tool Area.

Some specs for this layout :

  • Cell Size = 24 pixels
    <param name="CellSize" value="24">

  • Background Colour = green
    <param name="BkgdColour" value="#339900">
    It's important that you use the hexadecimal code for the colour, not a name.

  • No Prompt Area
    <param name="PromptAreaPosition" value="NONE">

  • Clue Area underneath the Crossword
    <param name="ClueAreaPosition" value="BOTTOM">


Example 2 has a horizontal layout, with the Clue Area placed to the side the Crossword. There is a Tool Area which includes all five buttons, and a Prompt Bar which 'repeats' the active clue text.

The total crossword width can be calculated if you are mathematically inclined. Width = (number of squares across in the crossword x cell size) plus (2 x Spacing), plus the clue area width. In this particular case it works out as (7 x 24) + (2 x 10) + 160 = 168 + 20 + 160 = 348.

The height can be calculated similarly, taking into account the height of the Title, Prompt and Tool Bar areas.

Then again, you can just use trial and error :)

Some specs for this layout :

  • Cell Size = 24 pixels
    <param name="CellSize" value="24">

  • Spacing = 10 pixels
    <param name="Spacing" value="10">

  • Background Colour = purple
    <param name="BkgdColour" value="#6600CC">
    NB : All colour references must be in hex.

  • No Prompt Area
    <param name="PromptAreaPosition" value="BOTTOM">

  • Clue Area at the side of the Crossword
    <param name="ClueAreaPosition" value="SIDE">


Example 3 has no Clue Area at all, and just relies on the Prompt Bar for the clues. This keeps the crossword quite compact.

The main consideration on such small crosswords is whether the clue text will be entirely visible. In the Prompt Bar long clues (eg 9 Across in this puzzle) are displayed in a smaller font, but do not wrap around.

Some specs for this layout :

  • Text Colour = #663300
    <param name="TextColour" value="#663300">

  • Cell Size = 30 pixels
    <param name="CellSize" value="30">

  • Prompt Area at the top of the Crossword
    <param name="PromptAreaPosition" value="TOP">

  • No Clue Area
    <param name="ClueAreaPosition" value="NONE">


Your browser does not support Java, so nothing is displayed.

This Picture Puzzle has illustrated clues. In this case the Prompt Bar must be used, as picture clues can only be displayed in the Prompt Bar (ie they won't display in the Clue Area or Tool Area). Picture clues are provided by us, along with a Picture Crossword's .xrd and .jar files.

Some specs for this layout :

  • No Clue Area (parameter deleted)

  • Cell Size = 32 pixels
    <param name="CellSize" value="32">

  • Background Colour = white
    <param name="BkgdColour" value="#FFFFFF">

  • Prompt Area Position = bottom
    <param name="PromptAreaPosition" value="BOTTOM">

  • Prompt Area Text Alignment = center
    <param name="PromptAreaTextAlign" value="CENTER">

Last Modified:   25 June 2007