Example HTML coding

Below are various example of coding that you can add to your HTML files to insert the HWscroll applet into them:

Note:  In the examples below you will need to change the values for "CODEBASE" in the <APPLET> tag and the 'hwurl' <PARAM> tag  to match the corresponding paths on your server.

Scrolling Zone Forecast Demo

To have HWscroll display your Zone forecast, simply copy the following code to your html page, but change the CODEBASE and hwurl parameters to match the corresponding urls for you server.  Then change the 'state' and 'place' parameters to the place and state you are needing the forecast for.

Online Example at the HAMweather web site.

<APPLET CODEBASE="http://www.hamweather.com/hwscroll" CODE="HWTextScroll.class"
        WIDTH=250  HEIGHT=200>
    <PARAM NAME="hwurl" VALUE="http://www.hamweather.com/cgi-bin/hamweather.cgi">
    <PARAM NAME='forecast' value='zone'>
    <PARAM NAME='state' value='va'>
    <PARAM NAME='place' value='roanoke'>
    <PARAM NAME='template' value='zonejava'>
</APPLET>


Forecast for Major Cities in the US Demo

To have HWscroll display the forecast for major US cities, simply copy the following code to your html page, but change the CODEBASE and hwurl parameters to match the corresponding urls for you server.

Online Example at the HAMweather web site.

<APPLET CODEBASE="http://www.hamweather.com/hwscroll" CODE="HWTextScroll.class"
        WIDTH=320 HEIGHT=15>
    <PARAM NAME="leftwidth" value="120">
    <PARAM NAME='leftbackground' value="255,255,128">
    <PARAM NAME='leftforeground' value="0,0,0">
    <PARAM NAME='rightforeground' value="0,0,0">
    <PARAM NAME='rightbackground' value="255,255,255">
    <PARAM NAME='forecast' value='nf'>
    <PARAM NAME='state' value='us'>
    <PARAM NAME='template' value='nfjava'>
    <PARAM NAME="hwurl" VALUE="http://www.hamweather.com/cgi-bin/hwscroll.cgi">
</APPLET>


Current Conditions for Major Cities in the US Demo

To have HWscroll display the Current Conditions for major US cities, simply copy the following code to your html page, but change the CODEBASE and hwurl parameters to match the corresponding urls for you server.

Online Example at the HAMweather web site.

<APPLET CODEBASE="http://www.hamweather.com/hwscroll" CODE="HWTextScroll.class"
        WIDTH=320 HEIGHT=15>
    <PARAM NAME="leftwidth" value="120">
    <PARAM NAME='leftbackground' value="255,255,128">
    <PARAM NAME='leftforeground' value="0,0,0">
    <PARAM NAME='rightforeground' value="0,0,0">
    <PARAM NAME='rightbackground' value="255,255,255">
    <PARAM NAME='forecast' value='ns'>
    <PARAM NAME='state' value='us'>
    <PARAM NAME='template' value='nfjava'>
    <PARAM NAME="hwurl" VALUE="http://www.hamweather.com/cgi-bin/hwscroll.cgi">
</APPLET>


Current Conditions for Localities with in a US State Demo

To have HWscroll display the Current Conditions for major US cities, simply copy the following code to your html page, but change the CODEBASE and hwurl parameters to match the corresponding urls for you server.  Also change the 'state' parameter to match the state you are needing weather info for.

Online Example at the HAMweather web site.

<APPLET CODEBASE="http://www.hamweather.com/hwscroll" CODE="HWTextScroll.class"
        WIDTH=320 HEIGHT=15>
    <PARAM NAME="leftwidth" value="120">
    <PARAM NAME='leftbackground' value="255,255,128">
    <PARAM NAME='leftforeground' value="0,0,0">
    <PARAM NAME='rightforeground' value="0,0,0">
    <PARAM NAME='rightbackground' value="255,255,255">
    <PARAM NAME='forecast' value='hourly'>
    <PARAM NAME='state' value='va'>
    <PARAM NAME='template' value='nfjava'>
    <PARAM NAME="hwurl" VALUE="http://www.hamweather.com/cgi-bin/hwscroll.cgi">
</APPLET>