Hi, this page demonstrates the use of my "BLOBS.IH" header file.
There are some options you can set such as where blobs sit relative to the mouse and the rate of movement.
With the code written as is the generated images must be in the same directory as the html for them to be loaded at runtime.
The complete source code for this page is shown below:
;----------------------------------------------------------------------------
; MODULE NAME: BLOBS.IT
;
; DESCRIPTION: This is a sample file which demonstrates how the
; "BLOBS.IH" file can be used.
;
; You can generate the html at any time by (windows):
;
; regina ppwizard BLOBS.it
;
;----------------------------------------------------------------------------
;--- Load BLOB header file (set some options) -------------------------------
#define BLOBS_GENERATE_CODE ;;Generate required code
#define BLOBS_GENERATE_IMAGES ;;Generate required graphics
#define BLOBS_INLINE_CODE ;;Imbed code (not external .JS)
#include "blobs.ih"
;****************************************************************************
;*** Note that the above few lines are all that are required! ***************
;****************************************************************************
;--- Start of HTML ----------------------------------------------------------
#define PageTitle Sample Page for the BLOBS.IH (mouse trail)
<HTML>
<HEAD>
<TITLE><$PageTitle></TITLE>
</HEAD>
<BODY>
<CENTER><H1><$PageTitle></H1></CENTER>
;--- Some HTML --------------------------------------------------------------
<P>Hi, this page demonstrates the use of my "BLOBS.IH" header file.
<P>There are some options you can set such as where blobs sit relative to the
mouse and the rate of movement.
<P>With the code written as is the generated images must be in the same
directory as the html for them to be loaded at runtime.
;--- If user has downloaded the header then show the source code ------------
#if FindFile("HTMLPRE.IH") <> ''
;--- Header available ------------------------------------------------
<P><HR COLOR="red" size="1">
<CENTER><H1>This pages Source Code</H1></CENTER>
<P>The complete source code for this page is shown below:
#include "HTMLPRE.IH" ;;Load "smart" PRE support (takes care of unsafe chars etc)
<$ExampleFile FILE="BLOBS.IT" STATE="REMEMBER">
#endif
;--- End of HTML ------------------------------------------------------------
</BODY>
</HTML>