cloudy

Author Topic: Carterlake Plugin Page - Printable Weather Flyer  (Read 31323 times)

0 Members and 1 Guest are viewing this topic.

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #165 on: January 31, 2010, 09:46:02 PM »
Hi Martin,
now the page is validated but the header doesn't still show correctly.
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.meteocarmignano.it%2Fwxflyer.php
And how about the print button?

Many thanks,

Alessandro


change
Code: [Select]
<span style="font-size: 34px;"><b>www.meteocarmignano.it</b></span>
to
Code: [Select]
<span style="font-size: 34px;">www.meteocarmignano.it</span>
I don't use print buttons, the web browser should have a print button.



Offline i_fiorentino

  • Posts: 1,350
  • 160 mls Carmignano (Po), Tuscany, Italy
    • Meteocarmignano.it
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #166 on: January 31, 2010, 10:08:24 PM »
Thanks Mike!
Now it shows correctly...  :D
Best regards,

Alessandro

Offline Budgie

  • Martin
  • Global Moderator
  • Posts: 4,635
  • WML Station: WD00934 CWOP: CW7959
  • Isle of Lewis, Scotland
    • Hebrides-Weather
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #167 on: January 31, 2010, 10:17:02 PM »
Hi Alessandro,

I liked your idea about the Print button so I looked into it and found a different code that works and validated on my own page.
Where the "Notice" area of text is at the top of the page, add the following after the text has finished but before the closing "</span> tag:
Code: [Select]
<input type="button" onclick="window.print()" value='Print this page' />This creates a Print button that is not printed with the rest of the page and you can change what it says on the button by altering the text in the "value=" part.  :wink:

Offline blainec

  • Posts: 86
  • Calgary, Ab.
    • Calgary Alberta
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #168 on: November 02, 2010, 02:30:04 AM »
Can this be used in Canada get reports from EC

Offline BigOkie

  • Posts: 617
  • Tulsa, OK
    • East Tulsa (Douglas)
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #169 on: November 02, 2010, 04:43:51 AM »
Can this be used in Canada get reports from EC


I'm guessing in it's current form no, since it's specifically retrieving info from NOAA.

Offline gemini06720

  • Posts: 38
  • Maple Bay, British Columbia, Canada
    • Tzouhalem-Maple Bay Weather, British Columbia, Canada
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #170 on: November 03, 2010, 01:00:55 PM »
Can this be used in Canada get reports from EC
With some modification, the flyer could be used with the forecast from Environment Canada - I have modified mine to use the weather warning(s) from Environment Canada and the forecast produced by WXSIM.

Offline blainec

  • Posts: 86
  • Calgary, Ab.
    • Calgary Alberta
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #171 on: November 05, 2010, 01:07:38 AM »
Maybe I will play around and see if I can get it to pull the forcasts from EC as well

Offline linuxfreak

  • Posts: 229
  • Hey there.....
  • Hamilton, Ontario, Canada
    • Hamilton Central Mountain Weather
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #172 on: November 05, 2010, 05:20:18 AM »
Maybe I will play around and see if I can get it to pull the forcasts from EC as well


Both forecast and warnings are available via RSS from EC. See attached pics.

George
Davis VP2/FARS, Intel Atom N330 dual-core, 2Gig ram, Windows XP Home SP3 

 

cumulus