2. How
to display custom splash screen with HTML
- Click on "Advance" tab on Jigsaw Puzzles Creator
editor
- Find "Action" groupbox. Modify "On Startup" dropdown
,choose "Display HTML Form", then click Parameter
button.
- Enter HTML filename and specify preferred size
of window
- Create your HTML file, save it in the same directory
with your project file.
- Add anchor tags <A> and modify HREF attribute
with a special tag in your HTML file to carry out
some actions
For example :
- Link New Game : <a
href=ACT_NEW_Game>
- Link About : <a
href=ACT_ABOUT_DLG>
- Link Close : <a
href=ACT_EXIT_APP>
when these links are clicked, Puzzles game will
take action according to ACT_XXX tag. For example:
ACT_NEW_GAME will instruct application to start
new game, or ACT_EXIT_APP to quit application.
- Also if you want the links to play a particular
image if clicked, you can use tag ACT_PLAY_XX, where
XX is index of image in your project you want to
be played and its range from 0 to total image in
project-1
For example :
- To play first image Image1
: <a href=ACT_PLAY_0>
- To play second image Image2
: <a href=ACT_PLAY_1>
and so on.
|