cloudy cloudy

Author Topic: JavaScript WDL version 1.0.0 alpha.  (Read 19008 times)

0 Members and 1 Guest are viewing this topic.

Offline scottma61

  • Posts: 29
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.99
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #450 on: July 15, 2018, 02:36:08 AM »
I did this

<object data=your web site width="1200" height="600" background="white"> <embed src=your web site background="white"> </embed> Error: Embedded data could not be displayed. </object>


And I am in no way a programmer.

Thanks that helped.  I am able to scale it down.  In the Saratoga templates there is a user selectable option for 'wide' or 'narrow' display. I was able to auto adjust for that like this:
Code: [Select]
<div id="main-copy">
 
<h1><?php langtrans('Fresh Weather Display Live'); ?></h1>
<?php
if(
$_SESSION['CSSwidescreen'] == 1) { ?>

<object data="FreshWDLmaster.html" width="1200" height="600" background="white"> <embed src="FreshWDLmaster.html" background="white"> </embed> Error: Embedded data could not be displayed. </object>
<?php
;} else { 
?>

<object data="FreshWDLmaster.html" width="650" height="375" background="white"> <embed src="FreshWDLmaster.html" background="white"> </embed> Error: Embedded data could not be displayed. </object>
<?php
;} 
?>

   
</div><!-- end main-copy -->

Thank you for the help.
WD 10.37S-(b72)
Davis Vantage Pro2 Plus (console firmware 3.15)
Davis WeatherLinkIP Datalogger (firmware 1.11)
Windows 10 Pro x64
http://weather.5-scotts.com

Offline giantocr

  • Posts: 80
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.99
    • Weatherstation - MeteoSauwerd
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #451 on: July 15, 2018, 07:38:48 AM »
Thanks that helped.  I am able to scale it down.  In the Saratoga templates there is a user selectable option for 'wide' or 'narrow' display. I was able to auto adjust for that like this:
Code: [Select]
<div id="main-copy">
 
<h1><?php langtrans('Fresh Weather Display Live'); ?></h1>
<?php
if(
$_SESSION['CSSwidescreen'] == 1) { ?>

<object data="FreshWDLmaster.html" width="1200" height="600" background="white"> <embed src="FreshWDLmaster.html" background="white"> </embed> Error: Embedded data could not be displayed. </object>
<?php
;} else { 
?>

<object data="FreshWDLmaster.html" width="650" height="375" background="white"> <embed src="FreshWDLmaster.html" background="white"> </embed> Error: Embedded data could not be displayed. </object>
<?php
;} 
?>

   
</div><!-- end main-copy -->

Thank you for the help.

Nice that it succeeded

Piet

Offline mldenison

  • Posts: 246
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 67.0.3396.99
    • York, Pennsylvania USA Weather
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #452 on: July 15, 2018, 04:34:33 PM »
That's a nice implementation into the Saratoga template.

I put in my site.  I've noticed that the text and numbers are not crisp on the left side of the page.  Or perhaps it's my eyes.

http://www.m82a1.us/wxWDL.php

Offline mldenison

  • Posts: 246
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 67.0.3396.99
    • York, Pennsylvania USA Weather
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #453 on: July 15, 2018, 09:38:17 PM »
All fixed. I fattened up the Saratoga Narrow page and the JavaScript WDL page.

Offline dsscheibe

  • Posts: 4
  • Phoenix, AZ
  • OS/Browser:
  • Win NT 10.0
  • Firefox 61.0
    • Scotts Weather Station, Cactus Wren, Phoenix, Arizona
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #454 on: July 22, 2018, 10:27:01 PM »
Actually came up faster on Duckduckgo on my android phone 7.1.1 than it did with the latest version of firefox on Win10 on my laptop
Scott
Davis Pro2 Plus daytime aspirated, wired
Weather Display


 

cumulus