Author Topic: fix for AJAX updates with IE8 and green-flash  (Read 15209 times)

0 Members and 1 Guest are viewing this topic.

Offline Mark / Ohio

  • Live from Mars!
  • Forecaster
  • *****
  • Posts: 2511
    • Fairfield County Weather
Re: fix for AJAX updates with IE8 and green-flash
« Reply #25 on: March 27, 2009, 12:01:14 AM »
....
Mark is also having this issue.  Not sure if he has the boxover script though.

No, I don't think I do.  At least not in my HTML for the main page with the ajax. 

I do have it I found in my Cumulus test page (http://fairfieldcountyweather.com/cumulus/ ) in the directory location of http://fairfieldcountyweather.com/cumulus/dbimages.  But that directory should not be called upon other then when viewing my Cumulus page and it's the only place I've found so far with that .js file.
« Last Edit: March 27, 2009, 12:02:54 AM by Mark / Ohio »
Mark 
2002 Davis VP I Wireless, WeatherLink (Serial), GRLevel3, VirtualVP, StartWatch, Weather Display, Windows 10


Offline kray1000

  • Purveyor of wry
  • Forecaster
  • *****
  • Posts: 1336
    • http://www.roanokevalleyweather.com
Re: fix for AJAX updates with IE8 and green-flash
« Reply #26 on: March 27, 2009, 12:06:09 AM »
Kevin...  Back to the drawing board, your still stuck green.  (And if you figure it out let me know so I can try your fix on my page.  :roll: )

Sorry, I guess I misunderstood this.    :roll:

Offline Mark / Ohio

  • Live from Mars!
  • Forecaster
  • *****
  • Posts: 2511
    • Fairfield County Weather
Re: fix for AJAX updates with IE8 and green-flash
« Reply #27 on: March 27, 2009, 12:09:22 AM »
Kevin...  Back to the drawing board, your still stuck green.  (And if you figure it out let me know so I can try your fix on my page.  :roll: )

Sorry, I guess I misunderstood this.    :roll:

No, you did not misunderstand.  I am having the same problem.  But I don't have the boxover file.   ;)
Mark 
2002 Davis VP I Wireless, WeatherLink (Serial), GRLevel3, VirtualVP, StartWatch, Weather Display, Windows 10


Offline kray1000

  • Purveyor of wry
  • Forecaster
  • *****
  • Posts: 1336
    • http://www.roanokevalleyweather.com
Re: fix for AJAX updates with IE8 and green-flash
« Reply #28 on: March 27, 2009, 12:12:02 AM »
Kevin...  Back to the drawing board, your still stuck green.  (And if you figure it out let me know so I can try your fix on my page.  :roll: )

Sorry, I guess I misunderstood this.    :roll:

No, you did not misunderstand.  I am having the same problem.  But I don't have the boxover file.   ;)

Thanks, Mark.  ;)

Well, that should eliminate the boxover script as the culprit.  Back to the drawing board. #-o

Offline Mark / Ohio

  • Live from Mars!
  • Forecaster
  • *****
  • Posts: 2511
    • Fairfield County Weather
Re: fix for AJAX updates with IE8 and green-flash
« Reply #29 on: March 27, 2009, 12:12:54 AM »
....
Here you go, Ken. I've made a copy of my current.php page but removed the boxover:

     http://www.wxbeacon.com/vws/AAAcurrent.php

Thanks for taking a look at it!..

Unfortunately checking that link with IE8 it is still stuck red.   :sad:
Mark 
2002 Davis VP I Wireless, WeatherLink (Serial), GRLevel3, VirtualVP, StartWatch, Weather Display, Windows 10


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: fix for AJAX updates with IE8 and green-flash
« Reply #30 on: March 27, 2009, 10:54:04 AM »
Kevins.. I think another of the scripts may be the cause of the lack-of-unflash on your page with IE8 .. I suggest you make a copy of the page, and comment out the scripts one-by-one until the unflash happens.. that will let you find the culprit, then we can look at the code in the problem script to (hopefully) find a solution.

Sorry the boxover.js didn't seem to be the source of the problem :(

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
Re: fix for AJAX updates with IE8 and green-flash
« Reply #31 on: March 27, 2009, 01:52:06 PM »
Kevins.. I think another of the scripts may be the cause of the lack-of-unflash on your page with IE8 .. I suggest you make a copy of the page, and comment out the scripts one-by-one until the unflash happens.. that will let you find the culprit, then we can look at the code in the problem script to (hopefully) find a solution.

Sorry the boxover.js didn't seem to be the source of the problem :(

Best regards,
Ken

Thanks for checking, Ken!

I think both KRAY and I also use the same side menu script. I'll PM him and ask.

Kevin...
Mae govannen!
Kevin  (Member AMS) http://www.wxbeacon.com               Genesee County, Michigan
Hardware:  Davis Vantage Pro Wireless, Midland WR-300
Software: VWS 14.01p43, WeatherFlash, & GRLevel3

Offline Mark / Ohio

  • Live from Mars!
  • Forecaster
  • *****
  • Posts: 2511
    • Fairfield County Weather
Re: fix for AJAX updates with IE8 and green-flash
« Reply #32 on: March 27, 2009, 11:54:47 PM »
One thing that all 3 of us are using on our pages with AJAX that Ken does not appear to be is mouseovers.   :-k
Mark 
2002 Davis VP I Wireless, WeatherLink (Serial), GRLevel3, VirtualVP, StartWatch, Weather Display, Windows 10


Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
Re: fix for AJAX updates with IE8 and green-flash
« Reply #33 on: March 28, 2009, 08:53:37 AM »


Kevins.. I think another of the scripts may be the cause of the lack-of-unflash on your page with IE8 .. I suggest you make a copy of the page, and comment out the scripts one-by-one until the unflash happens.. that will let you find the culprit, then we can look at the code in the problem script to (hopefully) find a solution.

Sorry the boxover.js didn't seem to be the source of the problem :(

Best regards,
Ken

I removed one of the other scripts. If someone would check it in IE8 to see if the red "unsticks", I would appreciate it. Here's the page:

     http://www.wxbeacon.com/vws/AAAcurrent.php

Thanks!
Mae govannen!
Kevin  (Member AMS) http://www.wxbeacon.com               Genesee County, Michigan
Hardware:  Davis Vantage Pro Wireless, Midland WR-300
Software: VWS 14.01p43, WeatherFlash, & GRLevel3

Offline Mark / Ohio

  • Live from Mars!
  • Forecaster
  • *****
  • Posts: 2511
    • Fairfield County Weather
Re: fix for AJAX updates with IE8 and green-flash
« Reply #34 on: March 28, 2009, 08:42:36 PM »
...I removed one of the other scripts. If someone would check it in IE8 to see if the red "unsticks", I would appreciate it. Here's the page:

     http://www.wxbeacon.com/vws/AAAcurrent.php

Thanks!

Still stuck red I'm afraid. :-|
Mark 
2002 Davis VP I Wireless, WeatherLink (Serial), GRLevel3, VirtualVP, StartWatch, Weather Display, Windows 10


Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
Re: fix for AJAX updates with IE8 and green-flash
« Reply #35 on: March 28, 2009, 10:00:07 PM »
...I removed one of the other scripts. If someone would check it in IE8 to see if the red "unsticks", I would appreciate it. Here's the page:

     http://www.wxbeacon.com/vws/AAAcurrent.php

Thanks!

Still stuck red I'm afraid. :-|

Okay. Thanks for checking, Mark!
Mae govannen!
Kevin  (Member AMS) http://www.wxbeacon.com               Genesee County, Michigan
Hardware:  Davis Vantage Pro Wireless, Midland WR-300
Software: VWS 14.01p43, WeatherFlash, & GRLevel3

Offline kray1000

  • Purveyor of wry
  • Forecaster
  • *****
  • Posts: 1336
    • http://www.roanokevalleyweather.com
Re: fix for AJAX updates with IE8 and green-flash
« Reply #36 on: April 01, 2009, 12:49:20 AM »
I think I've found the issue... missing/invalid DOCTYPEs.

I inserted the following line at the beginning of my document, and the resetting of the ajax colors started working in IE8 (which I went ahead and installed after doing my security updates).

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">

Mark, you have "4.0" instead, but if you change it to anything starting with 1, I think it will work.
« Last Edit: April 01, 2009, 01:00:32 AM by kray1000 »

Offline Mark / Ohio

  • Live from Mars!
  • Forecaster
  • *****
  • Posts: 2511
    • Fairfield County Weather
Re: fix for AJAX updates with IE8 and green-flash
« Reply #37 on: April 02, 2009, 01:01:53 AM »
...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">

Mark, you have "4.0" instead, but if you change it to anything starting with 1, I think it will work.

Thanks Kevin!  That got it flashing again.   8-)

I had to make the change using notepad.  Every time I tried to change it using Komposer it would switch back to 4.0 no matter what settings I used.
Mark 
2002 Davis VP I Wireless, WeatherLink (Serial), GRLevel3, VirtualVP, StartWatch, Weather Display, Windows 10


Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
Re: fix for AJAX updates with IE8 and green-flash
« Reply #38 on: April 02, 2009, 10:43:56 PM »

I made the change suggested by KRAY. Would someone with IE8 please kindly check my page to see if the reds no longer stay fixed?

Here's a direct link to my page:

     http://www.wxbeacon.com/vws/current.php

Thanks.
Mae govannen!
Kevin  (Member AMS) http://www.wxbeacon.com               Genesee County, Michigan
Hardware:  Davis Vantage Pro Wireless, Midland WR-300
Software: VWS 14.01p43, WeatherFlash, & GRLevel3

Offline kray1000

  • Purveyor of wry
  • Forecaster
  • *****
  • Posts: 1336
    • http://www.roanokevalleyweather.com
Re: fix for AJAX updates with IE8 and green-flash
« Reply #39 on: April 02, 2009, 10:48:16 PM »

I made the change suggested by KRAY. Would someone with IE8 please kindly check my page to see if the reds no longer stay fixed?

Here's a direct link to my page:

     http://www.wxbeacon.com/vws/current.php

Thanks.

I think it's still stuck, but try moving the comment below the DOCTYPE.

Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
Re: fix for AJAX updates with IE8 and green-flash
« Reply #40 on: April 02, 2009, 11:03:21 PM »


I think it's still stuck, but try moving the comment below the DOCTYPE.

Done. How does it look now?

K...
Mae govannen!
Kevin  (Member AMS) http://www.wxbeacon.com               Genesee County, Michigan
Hardware:  Davis Vantage Pro Wireless, Midland WR-300
Software: VWS 14.01p43, WeatherFlash, & GRLevel3

Offline kray1000

  • Purveyor of wry
  • Forecaster
  • *****
  • Posts: 1336
    • http://www.roanokevalleyweather.com
Re: fix for AJAX updates with IE8 and green-flash
« Reply #41 on: April 02, 2009, 11:04:41 PM »
 \:D/ =D&gt; :grin:

Success!

Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
Re: fix for AJAX updates with IE8 and green-flash
« Reply #42 on: April 02, 2009, 11:17:37 PM »

\:D/ =D&gt; :grin:

Success!

Finally! Thanks Kevin and Ken! ! ! ! =D&gt;
Mae govannen!
Kevin  (Member AMS) http://www.wxbeacon.com               Genesee County, Michigan
Hardware:  Davis Vantage Pro Wireless, Midland WR-300
Software: VWS 14.01p43, WeatherFlash, & GRLevel3

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: fix for AJAX updates with IE8 and green-flash
« Reply #43 on: April 03, 2009, 12:43:25 AM »
So... it appears that IE8 in native mode finally does pay attention to the <!DOCTYPE> spec and tries to render the page appropriately.  Fancy that.. Micro$oft doing a bit of standards compliance instead of 'own thing' like IE7..IE1  :)

Glad it all worked out!

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline WeatherBeacon

  • Chief
  • Forecaster
  • *****
  • Posts: 1369
    • http://www.wxbeacon.com
Re: fix for AJAX updates with IE8 and green-flash
« Reply #44 on: April 03, 2009, 10:35:02 AM »

Man I hate to be a pain and be so needy!

I included the DOCTYPE mentioned above, but now for some reason in IE7 (edit: and in IE8) everything on my page wants to be centered, including table contents that I don't want centered. If you have IE7, you can see what I mean on these pages:

    http://www.wxbeacon.com/vws/advisories.php
    http://www.wxbeacon.com/vws/quotes.php

It doesn't do it in FF 3.0.8.

Any suggestions? Sorry to be a pain!

Kevin...

EDIT:  It centers everything in IE8, also. :sad:
« Last Edit: April 03, 2009, 04:09:22 PM by WeatherBeacon »
Mae govannen!
Kevin  (Member AMS) http://www.wxbeacon.com               Genesee County, Michigan
Hardware:  Davis Vantage Pro Wireless, Midland WR-300
Software: VWS 14.01p43, WeatherFlash, & GRLevel3

Offline Mark / Ohio

  • Live from Mars!
  • Forecaster
  • *****
  • Posts: 2511
    • Fairfield County Weather
Re: fix for AJAX updates with IE8 and green-flash
« Reply #45 on: April 03, 2009, 11:17:17 PM »
...Any suggestions? ....

Not really other then leave all the other pages with the original document type except for the "Current Conditions" page with the AJAX on it.
Mark 
2002 Davis VP I Wireless, WeatherLink (Serial), GRLevel3, VirtualVP, StartWatch, Weather Display, Windows 10


Offline Koolkid1935

  • Member
  • *
  • Posts: 30
    • Powell Wyoming Local Weather
Re: fix for AJAX updates with IE8 and green-flash
« Reply #46 on: April 11, 2009, 10:15:05 AM »
Mine is also having problems.  I haven't edited the gizmo script yet, but when I put the doctype in it made ie8 work on the main page, but changed the formatting quite a bit.  When I get home I might have to fire up dreamweaver to see what I can find - if anything.  My site is http://powellwyweather.com

If anyone has any ideas, please let me know.  I ran it through W3C and it found quite a number of errors, I haven't had the time to comb through and get it taken care of though.
Davis 6162C Cabled Vantage Pro2 Plus
VWS14

Offline Koolkid1935

  • Member
  • *
  • Posts: 30
    • Powell Wyoming Local Weather
Re: fix for AJAX updates with IE8 and green-flash
« Reply #47 on: April 23, 2009, 02:27:06 AM »
Looks like a majority of my formatting errors were due to coding errors on my end (or just in the VWS template).  I have been slowly modifying it and so far so good.  Just need to finish up, but looks like the major formatting is all done and back to the way it should be \:D/
Davis 6162C Cabled Vantage Pro2 Plus
VWS14

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1314
  • BismarckWeather.net
    • BismarckWeather.net
Re: fix for AJAX updates with IE8 and green-flash
« Reply #48 on: April 29, 2009, 10:03:53 AM »
Since I put IE8 on a couple of my home computers, I thought I had better update.  I put the new JS file up.  That seems to be working fine.  But when I put the DOCTYPE 1.0 statement in, my formatting is all spread out.  It doesn't look like that in Dreamweaver.  Formatting looks fine there.

If I leave the DOCTYPE out, my formatting is fine in Firefox.  But IE8 still shows all red.
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1314
  • BismarckWeather.net
    • BismarckWeather.net
Re: fix for AJAX updates with IE8 and green-flash
« Reply #49 on: April 29, 2009, 12:19:02 PM »
Koolkid, what were your "formatting" errors?  I have the same basic USA template that your using.  I just removed some stuff I didn't like.

For anyone else, I setup a test file so you can compare it to my main page.
http://www.bismarckweather.net/index_test.htm

If anyone is so interested, the test htx file is there too.
http://www.bismarckweather.net/index_test.htx

TIA...
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI