Wind Detail addon page for WD-AJAX-PHP-USA template

Lars, the attached will display the max gust at the bottom. But the label at the left says average. You may want to have two rows at the bottom. One for the monthly averages and one for the monthly highs.


wxwinddetail.txt (27.8 KB)

How can I get this to work inside the Carterlake page?

This is great, thanks for sharing and thanks to everyone else who made the tweaks.

Hi guys,
Is it possible to use this script with narrow site?
Best regards,

Alessandro

I think it might be a bit difficult.

But you could allways change the fontsize to get it to fit in an narrow site.

You might want to try the attached files to see if they fix the problem with narrow sites.


wxwinddetail.zip (7.01 KB)

Hi,
here is the results: http://www.meteocarmignano.it/wxwinddetail.php?year=2009
It’s wide site now.
and why have i only red boxes?
Thanks,

Alessandro

You probably have $wind_unit set to “Kmh” instead of “kmh” which would cause them to show in red.
Yes, the css file widens this one page.

Is there any way to fetch the windchill as well?

I was thinking of making a page that shows temperature and windchill

Hi guys,
here is my link: http://www.meteocarmignano.it/wxwinddetail.php
Great script!! :smiley: :smiley:
Best regards,

Alessandro

Hey guys thanks for the great script,

Here is a version that will fit on the narrow template,

I removed the wind direction from the chart to make it fit.

Heres a link http://eastmasonvilleweather.com/wxwinddetail.php?year=2009

-Dennis


narrowwxwinddetail.zip (7.36 KB)

Nice work Dennis!

Tony 8)

After a lot of recoding and eliminating some code, my own flavor added for colors… etc. I have successfully placed mine into a NARROW Carter Lake Template.

I had to remove the DIR column to make it fit. Outside of that, I am extremly pleased with the outcome.

See it here at : http://www.k3jae.com/wxwinddetail.php All comments, good or bad are eagerly accepted.

Looks very good John

If you use the narrow style pages and would like to have the wind direction you could always specify the page to be wider. After the following code insert the following code:

#page {width: 1250px }

http://www.harpersferry-weather.com/wxwinddetail.php

John

I elected to leave out the direction simply because it is a general average and I do not feel it is all that important in the scheme of things. Especially where I live where the wind tends to swirl a lot. You can see three weather stations in my area within a mile or so from each other and nary a one reports the same wind direction at any given time. Wind speeds are close to or are the same but direction is never consistent. I live at the foothills of a mountain literally at the bottom, the closest of the three in the area, so swirling winds here is generally the rule as opposed to the exception.

If you use the narrow style pages and would like to have the wind direction you could always specify the page to be wider. After the following code insert the following code: #page {width: 1250px }

John

I always did it with in the css file with


#wind table {
	width: 98%;
	border-collapse: collapse;

or a percent that fitted the page, but this is the golden trick :smiley:
now see quickly all of my other pages will fit :smiley:

thnx John !!

Hi John,

Wonder if you could share your script? I am having some issues with my script with the other two wxdetails (temp & rain) to show the year and other details box. Also getting the wind detail to the same format to include the header, menu bar and footer. See my first attempt at http://www.dwayneyamato.com/wx/wxwinddetail.php. I still have to correct some really high gusts that occurred in January.

Thanks for your work on your site. Looks great.

–Stan Y.
Maui, Hawaii


wxwinddetail.php.txt (32.5 KB)

Thank you John for the script. I will work on it later tonight and see if I can add the “Year and Other Details” box to work on the other two details (temp and rain).

–Stan Y.
Maui, Hawaii