Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

October 05, 2022, 04:36:09 PM

Login with username, password and session length
Members
  • Total Members: 3848
  • Latest: rrolle
Stats
  • Total Posts: 193516
  • Total Topics: 21093
  • Online today: 87
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 0
Guests: 66
Total: 66

Author Topic: The Weather Channel Block  (Read 4870 times)

0 Members and 1 Guest are viewing this topic.

Offline RoarinRow

  • Hero Member
  • *****
  • Posts: 1034
  • Ride my AV!
    • Avalanche Style
The Weather Channel Block
« on: August 24, 2006, 08:24:25 PM »
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:

Code: [Select]
<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

  • Guest
Re: The Weather Channel Block
« Reply #1 on: March 16, 2007, 09:10:32 AM »
scriptbox block works for me