Page 1 of 1
Scroller Text Forecast
Posted: Thu 29 Oct 2015 6:48 pm
by Edkop
Hi All,
The forecast text in the display, how do you make it scroll instead of just appear? Is there a way to do that or is that a function of the weather station itself?
Also, I understand that on the main cumulus (console) page there is the white text box with the 'Current' label. The Wiki and help say to use that feature, turn it on in the display settings...I can't seem to find that anywhere;(
Thanks!
Ed
http://www.yardvilleweather.com
Re: Scroller Text Forecast
Posted: Thu 29 Oct 2015 7:01 pm
by water01
This code
Code: Select all
// Singleton for the Status Scroller
//
singleStatus = (function () {
var instance; // Stores a reference to the Singleton
var scroller; // Stores a reference to the SS scrolling display
function init() {
// create forecast display
if ($('#canvas_status').length) {
scroller = new steelseries.DisplaySingle(
'canvas_status', {
width : $('#canvas_status').width(),
height : $('#canvas_status').height(),
lcdColor : gaugeGlobals.lcdColour,
unitStringVisible : false,
value : strings.statusStr,
digitalFont : config.digitalForecast,
valuesNumeric : false,
autoScroll : true,
alwaysScroll : true
});
}
starts around line 585 in gauges,js.
Set autoScroll and alwaysScroll to true.
Re: Scroller Text Forecast
Posted: Thu 29 Oct 2015 7:10 pm
by steve
Also, I understand that on the main cumulus (console) page there is the white text box with the 'Current' label. The Wiki and help say to use that feature, turn it on in the display settings...I can't seem to find that anywhere;(
If you can see it, then you've presumably turned it on? If not, the display settings are on the configuration menu, and the checkbox has the label "Show current conditions box".
Re: Scroller Text Forecast
Posted: Sat 31 Oct 2015 8:56 am
by Edkop
water01 wrote:This code
Code: Select all
// Singleton for the Status Scroller
//
singleStatus = (function () {
var instance; // Stores a reference to the Singleton
var scroller; // Stores a reference to the SS scrolling display
function init() {
// create forecast display
if ($('#canvas_status').length) {
scroller = new steelseries.DisplaySingle(
'canvas_status', {
width : $('#canvas_status').width(),
height : $('#canvas_status').height(),
lcdColor : gaugeGlobals.lcdColour,
unitStringVisible : false,
value : strings.statusStr,
digitalFont : config.digitalForecast,
valuesNumeric : false,
autoScroll : true,
alwaysScroll : true
});
}
starts around line 585 in gauges,js.
Set autoScroll and alwaysScroll to true.
Thank you David!
Re: Scroller Text Forecast
Posted: Sat 31 Oct 2015 9:00 am
by Edkop
steve wrote:Also, I understand that on the main cumulus (console) page there is the white text box with the 'Current' label. The Wiki and help say to use that feature, turn it on in the display settings...I can't seem to find that anywhere;(
If you can see it, then you've presumably turned it on? If not, the display settings are on the configuration menu, and the checkbox has the label "Show current conditions box".
Steve,
Yes , I can see it, so it must be on. Some I types 'test' in there and can not find any output on the web pages. Is there a tag I need to add somewhere?
Thanks!
Re: Scroller Text Forecast
Posted: Sat 31 Oct 2015 10:06 am
by steve
Yes - <#currcond>
Re: Scroller Text Forecast
Posted: Sat 31 Oct 2015 12:40 pm
by Edkop
I've made those modifications to the code...neither of them did anything
Re: Scroller Text Forecast
Posted: Sat 31 Oct 2015 12:48 pm
by steve
The gauges.js on your web site still has alwaysScroll: false -
http://www.yardvilleweather.com/scripts/gauges.js
Please zip up and attach the template to which you have added the <#currcond> web tag.
Re: Scroller Text Forecast
Posted: Tue 03 Nov 2015 12:00 pm
by Edkop
Got the scroller to work
. Not sure what happened, maybe I didn't save it the first time
When I get a chance I will zip up and upload my indexT.htm file. I'm on the IPad right now.
Thanks!!
Re: Scroller Text Forecast
Posted: Sun 28 Aug 2016 6:09 am
by griffo42
Hi
Could someone please tell how the forecast which scrolls is generated and from where it comes in the template suite of programs.
Thanks
griffo42
Brisbane, Australia