EXPORTING APPLETS

If all has gone well, you will see the exported Applet operating in a window of your default web browser. Please read the information which follows if you would like to feature this Applet on your own web site



When you use the Export as Applet function on any of the puzzle build screens, the following three files are created inside the java sub-folder of your main Magnum Opus folder:-
  • An exact copy of the puzzle file which you are exporting.

  • A copy of the .jar applet file appropriate to the type of puzzle you are exporting.

  • A file called puzzle.html which will create the web page which will accomodate the exported interactive puzzle.
Publishing the puzzle.
All that is now required to publish the puzzle on the Internet is to upload the three files onto your web server, and to provide a link from one of your existsing web pages to the puzzle.html file. If the exported puzzle performs correctly when operated locally on your hard drive, but fails to do so after loading onto your web server, it will probably be caused by one of the following factors:-
  • Some web servers are case sensitive, so that a file called Puzzle.cwe is NOT the same as a file called puzzle.cwe It is a very good idea to use ONLY lower case letters when naming files, and needless to say, you should also use lower case letters when you refer to those files in the applet parameters.

  • All puzzle files (.crossword, .acrostic, .sudoku, etc) are binary files, not text files, and transfer of these files to the server MUST be done in the binary mode. Failure to do so will lead to unpredictable results.

  • Some web servers place restrictions on the type of file which they will allow to be downloaded. Naturally, all servers will download .html, .gif, .jpg, .zip, .class, .exe, etc files, but occasionaly a server will be encountered which will not permit .crossword, .acrostic, .sudoku, etc files to be downloaded. This is usually a configuration option which can be changed by the server administrator, so if you run into this problem, your first action should be to discuss the matter with your Internet Service Provider. If they are unwilling to make the necessary change, then you can change the name of the puzzle file (for example from puzzle.sudoku to puzzle.gif), and also change its name where it is referred to in the applet parameters.
Changing the appearance of the puzzle.
You should find the puzzle perfectly acceptable exactly as it is exported by Magnum Opus. You can however make changes to the appearance and behaviour of the applet using a system of param statements located within the puzzle.html file. There is a very comprehensive selection of params the use of which is explained in a set of Applet User Instructions accessed by the following links:-

INDEX OF APPLET USER INSTRUCTIONS.
 Acrostic 
 Akari 
 Codeword 
 Crossword 
 Domino 
 Doublet 
 Fillin 
 Fillomino 
 Futoshiki 
 Gokigen 
 Kakuro 
 Kendoku 
 Ladderword 
 Letterdrop 
 Minesweeper 
 Pyramidword 
 Roundabouts 
 Sikaku 
 Slitherlink 
 Sudoku 
 Tatami 
 Tents 
 Wordsearch