ZISP Demon Logo
 

[ Image Banner - Reference ]

The Image Banner displays a different image each time your web page is accessed.

Data files used on your website:

  • /banner - folder containing banner images.

Options available:

  • ID - have multiple independent image banners.

Image Banner Setup

Put the following into the HTML where you wish the banner to appear:

<IMG SRC="/zisp/banner">

When you first view the page, you'll see this message:

The Dynamic Tool will create a directory called "banner" in the home directory of your web site. Upload the images you want to include in your Image Banner from your own computer into this directory (for help with uploading files to your web site, see your ISP documentation). There is no limit to the number of images you can include in the "banner" directory.

Note - The only image format you can use for the Dynamic Tools Image Banner is GIF (Graphical Interchange Format). These files have the extension ".gif". GIF is the most common image format used on the internet.


Using your Image Banner as a web page background

You can create a very impressive effect for your web pages, by changing your wallpaper every time someone visits!. To do this, you have to edit the BACKGROUND value of the <BODY> tag on your web page.

If you're using NotePad or writing your HTML code directly, you should have a <BODY> tag near the top of your document, and a </BODY> very near the end. Change the <BODY> tag to:

<BODY BACKGROUND="/zisp/banner">

If you're using FrontPage select "Format" and then "Background" from the FrontPage toolbar. In the new window, click on "Background Image". In the text box, type "/zisp/banner".

If you want to see what this has done, click on the "HTML" tab at the bottom of the page. You should be able to see the <BODY BACKGROUND=...> text near the top of the page.


Using multiple Image Banners

If you want to have several separate banners on your website, each with their own sets of images, you can do this. You need to give each banner its own "ID".

<IMG SRC="/zisp/banner?ID=NN">

... where "NN" is a number between 0 and 99.

For example, you might like to have a set of wallpaper background images with a red theme for one web page, and another set with a blue theme for another page.

The images are stored in the directory called "bannerNN" in your website. You must manually create each separate directory and populate it with image files before you can use this facility. Your ISP should provide details on creating files and directories in your website.

For example, the banner with ID "45" will look for its images in the directory called "banner45" in your website.