Click to return to the HTML Help home page    
Web Workshop  |  DHTML, HTML & CSS  |  HTML Help

To Write Text for a Pop-up Window


Microsoft Corporation

Updated June 10, 1999

Write the text for your pop-up windows, using any text editor, in the following format:

<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 to appear in the pop-up window.

Example

The following script specifies 10 point italic Helvetica as the font to use for the text and defines one pop-up window:

<SCRIPT Language=JavaScript>

MyFont="Helvetica,10,,italic"
MyText="This is a pop-up window." </SCRIPT>

Notes



Back to topBack to top

Did you find this material useful? Gripes? Compliments? Suggestions for other articles? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.