An alert box is a good way to inform you visitors about something. I mean just a small notice. I'll show you how to do it anyways, I think.

So for a normal alert this is the code:

<form action=" " method="post">
<input onclick="javascript:alert('THIS IS YOUR TEXT')" value="BUTTON TITLE" type="button">
</form>

    The THIS IS... part is what is going to appear in the message box, and the BUTTON...is the button title.

    The same can be done with images. Below you can see and example where the picture is a link to my main site and when you click it will show an alert and will take you to the main site after you click OK. It is done by putting onclick="javascript:alert('THIS IS YOUR TEXT')" inside the <img.... tag.

This is an example.


    The code for the image is as follows:

<a href="http://oregac.googlepages.com" target="_blank"><img style="" src="http://oregac.googlepages.com/ascreen.png" onclick="javascript:alert('This will take you to the main site.')"></a>

    You of course change the blue parts to suit your needs.

Making an alert popout on page load

    To make the message popout on page load, instead of the <body> put this thing

<body onload="javascript:alert('THIS IS YOUR TEXT')">
    And change the blue part to your need.

    This is not possible in GPC as we cant edit the body tag. However you can put a dummy div, that will be in the subheading of your page and would have the onload property with the message box.

    The code for the dummy div would be:

<div onload="javascript:alert('THIS IS YOUR TEXT')"></div>

    By putting this into the subheading you get a popup like the on you got when accessing this page. I haven't tested this, it might not work though.