<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.
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>
Add the image to your project file | |