cloudy

Author Topic: Dynamic updating WAP site with CSS  (Read 30633 times)

0 Members and 2 Guests are viewing this topic.

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,429
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #75 on: December 02, 2008, 03:53:01 PM »
Thanks Jim. I've been reading about ajax on mobile phones,
but dont worry, I dont understand any of it.
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline lulu836

  • Linda
  • Posts: 2,232
  • Louisiana
    • Luv Retirement
Re: Dynamic updating WAP site with CSS
« Reply #76 on: December 02, 2008, 04:11:43 PM »
If your phone uses BREW.......there is no hope to run javascript without major "fixes" that require "flashes" to make it java friendly which sometimes bricks the phone and you have an expensive paper weight instead of a phone.  The wap page you have now can be read by all types of phones with internet capabilities.  If you go much fancier than what you have only smartphones with "real" OSes would be able to read it.
« Last Edit: December 02, 2008, 04:14:36 PM by lulu836 »


Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,429
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #77 on: December 02, 2008, 07:06:20 PM »
Thanks for the info!   8)
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline looney2ns

  • Posts: 2,946
  • Fearless Weather Dog-Loves to watch Lightning.
  • Near Evansville Indiana USA
    • Newburgh Weather
Re: Dynamic updating WAP site with CSS
« Reply #78 on: December 03, 2008, 12:09:02 AM »
My LG Dare can view ajax updated pages.

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,429
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #79 on: December 04, 2008, 07:33:34 PM »
What would I have to add where to get the warnings/advisories to show on my wap page?
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline ALITTLEweird1

  • Mark
  • Posts: 3,867
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Dynamic updating WAP site with CSS
« Reply #80 on: December 04, 2008, 08:17:53 PM »
I just added that to mine lastnight...Im at work now, but i can send you what i did when I get home in about 2 hours if you havent figured it out by then.
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,429
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #81 on: December 04, 2008, 08:29:34 PM »
That'll work

Thanks!
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline ALITTLEweird1

  • Mark
  • Posts: 3,867
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Dynamic updating WAP site with CSS
« Reply #82 on: December 04, 2008, 10:45:51 PM »
What would I have to add where to get the warnings/advisories to show on my wap page?

Add this to the top of the Table in your wapindex folder
Code: [Select]
echo  $NOAAEvent . ' </td></tr>';lf();


then make sure you add %NOAAEvent% In your testtags, And have your NOAA settings setup in WD.

Hope this works for you.
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,429
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #83 on: December 05, 2008, 12:13:03 AM »
Ok, I added this to my wxlocal29.htm

Code: [Select]
|%date%
|%time%
|%NOAAEvent%
|%dewinusa%

added NOAAEvent to my wapindex.php

Code: [Select]
echo  $NOAAEvent . ' </td></tr>';lf();
echo '<tr class="dk"><td>Temperature: </td><td>' . $wdtg[3] . ' F ' .  gen_difference( $wdtg[55], $wdtg[56]) . ' </td></tr>';lf();
echo '<tr class="lt"><td>Dewpoint: </td><td>' . $wdtg[4] . ' F ' .  gen_difference( $wdtg[57], $wdtg[58]) . ' </td></tr>';lf();

And it's a no show so far on my mobile page

http://www.cnyweather.com/wap/wapindex.php

« Last Edit: December 05, 2008, 11:44:22 AM by cnyweather »
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline andro700

  • Chuck
  • Posts: 3,209
  • Watford City, North Dakota
    • Chuck's Weather Page
Re: Dynamic updating WAP site with CSS
« Reply #84 on: December 05, 2008, 01:40:51 PM »
Tony all your temps have double F's in them. Just thought I would let you know.

Chuck

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,429
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #85 on: December 05, 2008, 01:54:18 PM »
Yeah Chuck. I'm still playing with it. Thanks!  8)
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline andro700

  • Chuck
  • Posts: 3,209
  • Watford City, North Dakota
    • Chuck's Weather Page
Re: Dynamic updating WAP site with CSS
« Reply #86 on: December 05, 2008, 01:59:04 PM »
I should give this a shot. Some people ask me at work if my stuff could be seen on their cell phone. I told it is possible but I did not have it set up.

Chuck

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,429
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #87 on: December 05, 2008, 02:05:52 PM »
The wife uses it all the time on her BB Pearl Chuck. Plus I'm ordering a
Blackberry Storm  8)

I used the link in the beginning of this post:

wap.jcweather.us/dynamicwap.zip.



I see you have the windchill ajax'ed now. Nice!
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline andro700

  • Chuck
  • Posts: 3,209
  • Watford City, North Dakota
    • Chuck's Weather Page
Re: Dynamic updating WAP site with CSS
« Reply #88 on: December 05, 2008, 02:17:56 PM »
Yes I do thanks for the info. I have Ken looking at my ajaxdashboard because I made more changes to it and I can not seem to get it to line up properly. Well see what he comes up with. I used a copy of that page so I would not mess anymore up.

Chuck

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,429
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #89 on: December 05, 2008, 02:19:44 PM »
I'm clueless on tables myself too.

Though I've had a little luck using the new version of Microsoft Expression.
It's pretty .php friendly FINALLY!
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

 

cumulus