Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Realtime gauges v1.0.0.3 available for download

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderators: daj, TNETWeather

User avatar
steve
Cumulus Author
Posts: 26246
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: Realtime gauges v1.0.0.3 available for download

Postby steve » Thu Feb 09, 2012 7:23 pm

Perhaps if you explain exactly what you want to do, and give a link to an example? I didn't reply as I know you can't actually enlarge the Silverlight application itself, so I assume whatever you want to do is something to do with HTML, in which I have a basic understanding but am by no means an expert.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

User avatar
duke
Posts: 845
Joined: Sun Jul 03, 2011 6:23 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 - 64 bit
Location: Eastleigh, Hampshire, UK
Contact:

Re: Realtime gauges v1.0.0.3 available for download

Postby duke » Thu Feb 09, 2012 7:47 pm

Sorry for the bad explanation Steve. I've seen examples of this that are enlarged to nearly the same size as the background colour. So the background just appears as a border.

Typical, can't find an example at the moment :(

Duke
Duke

Nightingale Weather
Eastleigh, Hampshire, UK
------------------------------------------------------
Validate your pages - often!

gemini06720
Posts: 1700
Joined: Mon Aug 10, 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Realtime gauges v1.0.0.3 available for download

Postby gemini06720 » Fri Feb 10, 2012 11:39 pm

duke wrote:Typical, can't find an example at the moment...
Duke, how about the following to links/locations for examples (not yet 100% reliable as I am completely/still rebuilding my house/office computer network and the server can/could be offline at times):

Tzouhalem-Maple Bay Weather

Silverlight RealTime Weather

User avatar
duke
Posts: 845
Joined: Sun Jul 03, 2011 6:23 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 - 64 bit
Location: Eastleigh, Hampshire, UK
Contact:

Re: Realtime gauges v1.0.0.3 available for download

Postby duke » Sat Feb 11, 2012 6:40 am

and give a link to an example?


I thought some one might be along to offer an example, thanks. ;)



Duke
Duke

Nightingale Weather
Eastleigh, Hampshire, UK
------------------------------------------------------
Validate your pages - often!

gemini06720
Posts: 1700
Joined: Mon Aug 10, 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Realtime gauges v1.0.0.3 available for download

Postby gemini06720 » Sat Feb 11, 2012 10:57 am

duke wrote:I thought some one might be along to offer an example, thanks. ;)
Yes, but is that what you were inquiring (writing) about... :D

User avatar
duke
Posts: 845
Joined: Sun Jul 03, 2011 6:23 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 - 64 bit
Location: Eastleigh, Hampshire, UK
Contact:

Re: Realtime gauges v1.0.0.3 available for download

Postby duke » Sat Feb 11, 2012 12:11 pm

gemini06720 wrote:
duke wrote:I thought some one might be along to offer an example, thanks. ;)
Yes, but is that what you were inquiring (writing) about... :D


Yes, as apposed to the regular "skinnier" look with borders @ Cumulus Realtime

Duke
Duke

Nightingale Weather
Eastleigh, Hampshire, UK
------------------------------------------------------
Validate your pages - often!

User avatar
Mapantz
Posts: 446
Joined: Sat Dec 17, 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 x64 - A beast.
Location: Wareham, Dorset - UK
Contact:

Re: Realtime gauges v1.0.0.3 available for download

Postby Mapantz » Sat Feb 11, 2012 3:39 pm

*delete*
Image
Image

gemini06720
Posts: 1700
Joined: Mon Aug 10, 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Realtime gauges v1.0.0.3 available for download

Postby gemini06720 » Sun Feb 12, 2012 5:41 am

OK, Duke... ;)

This is the code you have in the template used to display the Silverlight RealTime screen:

Code: Select all

<object data="data:application/x-silverlight," type="application/x-silverlight-2" width="100%" height="700px">
This is the code I have in the Weather-Blues template used to display the Silverlight RealTime screen:

Code: Select all

<object data="data:application/x-silverlight," type="application/x-silverlight-2" width="832" height="890">
Through the years, I have learned not to use a percentage value for either the width or the height of any Adobe Flash or Microsoft Silverlight file formats.

832 pixels appears (at least on the different monitors I use in my home/office) to be the minimum width of the Silverlight RealTime screen - anything less will produce the navigation bar on the right side of the object. But, it is not just a matter of adjusting the width - the height must also be adjusted or navigation bars will be produced both to the right and the bottom of the object.

If you are still unsure, here is the code I use to display this Silverlight RealTime screen:

Code: Select all

    <div id="content">
      <h2>Silverlight RealTime Weather</h2>
      <table border="0" cellpadding="10" style="padding: 20px 0 0 45px;">
        <tr>
          <td>
            <div id="errorLocation" style="font-size: small; color: gray;"></div>
            <div id="silverlightControlHost">
              <object data="data:application/x-silverlight" type="application/x-silverlight-2" width="832" height="890">
                <param name="allowHtmlPopupWindow" value="true" />
                <param name="autoUpgrade" value="true" />
                <param name="background" value="silver" />
                <param name="enableAutoZoom" value="true" />
                <param name="enableGPUAcceleration" value="true" />
                <param name="enablehtmlaccess" value="true" />
                <param name="enableNavigation" value="all" />
                <param name="maxframerate" value="60" />
                <param name="minRuntimeVersion" value="3.0" />
                <param name="onerror" value="onSilverlightError" />
                <param name="source" value="CumulusRealtime.xap?v=1.0.0.4" />
                <a target="_blank" href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">
                  <img src="http://go.microsoft.com/fwlink/?LinkId=108181"
                      alt="Get Microsoft Silverlight" style="border-style: none" />
                </a>
              </object>
              <iframe style="visibility: hidden; height: 0; width: 0; border: 0"></iframe>
            </div>
          </td>
        </tr>
      </table>
    </div><!-- end id content -->

User avatar
duke
Posts: 845
Joined: Sun Jul 03, 2011 6:23 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 - 64 bit
Location: Eastleigh, Hampshire, UK
Contact:

Re: Realtime gauges v1.0.0.3 available for download

Postby duke » Sun Feb 12, 2012 10:34 am

It was on my to do list to have a sneeky look at your code today ;) .

Through the years, I have learned not to use a percentage value for either the width or the height

I actually tried various % and px figures here and was unable to effect the width only the height. I try to stay with px as I found % can have all sorts of strange results not just with this type of application.

So what was i doing wrong? The addition of this line from you code appears to be the secret:

<param name="enableAutoZoom" value="true" />


832 pixels appears (at least on the different monitors I use in my home/office) to be the minimum width of the Silverlight RealTime screen

I have a maximum of 810 due to my page layout so I have a nav bar at the bottom but it looks a lot better than before
Cumulus Realtime

Perhaps there is a way to eliminate the nav bar?

Thanks for your help with this one, I wouldn't have got their on my own :bash: .

Duke

Oh.....
Blumentals
:clap:
Duke

Nightingale Weather
Eastleigh, Hampshire, UK
------------------------------------------------------
Validate your pages - often!

david3
Posts: 44
Joined: Sat Jan 28, 2012 4:03 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7
Location: Philippines
Contact:

Re: Realtime gauges v1.0.0.3 available for download

Postby david3 » Sat Feb 25, 2012 11:58 am

Just got these Silverlight realtime gauges working... It's pretty cool.

http://www.sfcweather.com/wxrealtime.php
Image

drdscly
Posts: 5
Joined: Sun Mar 16, 2014 1:38 am
Weather Station: Davis VUE
Operating System: Windows 8.1
Location: Newfoundland, Caanda
Contact:

Re: Realtime gauges v1.0.0.3 available for download

Postby drdscly » Wed Mar 19, 2014 11:39 pm

Slightly off topic - but how does one get the stickers I see here into a post. Can I just put the php code directly in the post?

Mike

User avatar
duke
Posts: 845
Joined: Sun Jul 03, 2011 6:23 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 - 64 bit
Location: Eastleigh, Hampshire, UK
Contact:

Re: Realtime gauges v1.0.0.3 available for download

Postby duke » Thu Mar 20, 2014 6:55 am

This sure is an old topic you posted in :o

But, in answer to your question Cumulus PHP-GD Banner
Duke

Nightingale Weather
Eastleigh, Hampshire, UK
------------------------------------------------------
Validate your pages - often!

mareid123
Posts: 3
Joined: Mon Nov 10, 2014 10:09 am
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7
Location: Dover, AR USA

Re: Realtime gauges v1.0.0.3 available for download

Postby mareid123 » Wed Nov 12, 2014 5:18 pm

Is there any way possible to take this and make it run as an "app" on your local PC, outside of any browser?

User avatar
steve
Cumulus Author
Posts: 26246
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: Realtime gauges v1.0.0.3 available for download

Postby steve » Wed Nov 12, 2014 5:45 pm

Good question. Later versions of Silverlight did allow the creation of "out of browser" applications, but I don't think I ever got around to doing that with this. I don't think I have the ability to build the code now, as I didn't keep up the subscription for the components that it uses (it was costing me about £1000 per year) and I don't think the last version that I have a licence for will build against the current libraries.

Silverlight itself seems to be pretty much dead now, MS seem to have abandoned it in favour of HTML5.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

wetterfrosch1971
Posts: 80
Joined: Sun Apr 06, 2014 1:15 pm
Weather Station: wh1080
Operating System: windows7
Location: south-west-germany

Re: Realtime gauges v1.0.0.3 available for download

Postby wetterfrosch1971 » Sun Feb 15, 2015 2:27 pm

steve wrote:
Silverlight itself seems to be pretty much dead now, MS seem to have abandoned it in favour of HTML5.


Hi,

I´m from Germany and in Germany is silverlight much dead.
I love the realtime gauges but no one can see it, because in Germany has no one silverlight on the Computer.

Please create a new Realtime gauges Version in a other Format, that would be so great.

Many thanks.
Frank


Return to “Web site - General”

Who is online

Users browsing this forum: No registered users and 4 guests