To write text for pop-up windows

  1. Copy the following syntax in your HTML file:

    <SCRIPT Language=JavaScript>
    font_variable="Facename[, point size[, charset[, PLAIN BOLD ITALIC UNDERLINE]]]"
    text_variable="A Pop-up Window"
    text_variable2="Another Pop-up Window"
    </SCRIPT>

    where font_variable is the name of the variable that specifies the font attributes for the text, and text_variable is the name of the variable that specifies the text of the pop-up window.


  2. Create one text variable (with a unique name) for each pop-up window.

Example

The following script specifies 10 point Verdana as the font to use for the text and defines four pop-up windows:


<SCRIPT Language=JavaScript>

popfont="Verdana,10,,plain"
square1="Welcome to Square 1!"
square2="This is Square 2!"
square3="Welcome to Square 3!"
square4="Square 4 welcomes you!" </SCRIPT>

Notes


next step Add the image to your project file