Author Topic: Ajax baro reading adjusting page  (Read 801 times)

0 Members and 1 Guest are viewing this topic.

Offline stewart45

  • Senior Member
  • **
  • Posts: 51
    • Newlands Weather Station
Ajax baro reading adjusting page
« on: March 08, 2011, 05:15:16 AM »
not sure if I am explaining this properly but the ajax baro reading at the top of my index page causes a line return (see attachment) making the page jump, is there a way to stop this. tried deleting some of the languages to give more room but didnt help much

Offline mfd38

  • Member
  • *
  • Posts: 48
    • Millis, MA Current Conditions and Forecasts
Re: Ajax baro reading adjusting page
« Reply #1 on: March 08, 2011, 07:27:18 AM »
I have tried to do the same with no luck. It appears to be the barometer trend description that causes it, I tried to edit the ajax-gizmo files but could not get the results I wanted. For now I stopped using the gizmo on my index page since all the same data is there in the dashboard.

Offline stewart45

  • Senior Member
  • **
  • Posts: 51
    • Newlands Weather Station
Re: Ajax baro reading adjusting page
« Reply #2 on: March 08, 2011, 03:13:00 PM »
thanks for that, think I had come to the same conclusion so have also disabled ajaxgizmo for now

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 4410
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Ajax baro reading adjusting page
« Reply #3 on: March 08, 2011, 05:17:28 PM »
Yes, when there are too many language flags displayed, or the sitename text is too long, then the Gizmo output can fold unexpectedly when long lines are there too.  It's a case of trying to fit too much incompressible stuff in the header.

The new V3 template uses a drop-down list for language selection, so is more immune to this kind of overflow issue.

I'd recommend pruning a few languages from your set, then then Gizmo can be reenabled :)
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline stewart45

  • Senior Member
  • **
  • Posts: 51
    • Newlands Weather Station
Re: Ajax baro reading adjusting page
« Reply #4 on: March 09, 2011, 11:42:22 AM »
thanks Ken did try that obviously didn't trim enough, will have a look at V3 sounds like a better answer