TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 28, 2024, 08:34:45 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,104
  • Total Topics: 21,212
  • Online today: 174
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 163
  • Total: 163

The Weather Channel Block

Started by RoarinRow, August 25, 2006, 03:24:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RoarinRow

I just changed my Weather block code, which I got from the snippets section to this new one from The Weather Channel.

In a Javascript/html block just enter this code:

<center><table cellpadding="0" cellspacing="0">
<tr>
    <td align="center" width="120">
        <a href="http://www.weather.com?par=internal&code=1025899396&site=logo&promo=english"><img border="0" src="http://image.weather.com/pics/oap/slogo.gif"></a>
    </td>
</tr>
<tr>
    <td align="center" width="120">
        <form target="_blank" method="post" action="http://www.weather.com/cgi-bin/uncgi/zip_city_search.cgi?par=internal&code=1025899396&site=logo&promo=english">
        <table cellpadding="0" cellspacing="0">
            <tr>
                <td valign="center" width="120" colspan="2">
                    <font face="Arial, Helvetica, Chicago, Sans Serif" color="#004371" size="2">  Enter city or US Zip </font>
                </td>
            </tr>
            <tr>
                <td width="40" align="left" valign="bottom">
                    <input name="destination" type="text" size="8" value="">
                </td>
                <td width="20" align="left" valign="bottom">
                    <input type="image" src="http://image.weather.com/pics/button_go.gif" width="26" height="23" border="0" alt="go!" value="Go City">
                </td>
            </tr>
        </table>
        </form>
    </td>
</tr>
</table></center>


I registered on their site to get the code, they have other versions - http://www.weather.com/services/oap.html?from=servicesindex



SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

bsmity