Wasn't sure where to post this, sorry.
I like the realtime Silverlight display and have it displayed (in a separate window) from the weather page on my main site.
I wanted to incorporate it into the weather pages.... http://jerbils.info/saratoga/wxcurealtime.php or select "Cumulus direct" from the "Real Time Display" menu item at http://jerbils.info/saratoga/wxindex.php .....
and I think it looks fine except for...
. main problem is that it overlays my 2nd level flyout menu items. I thought it was perhaps a z-index problem (or that I could resolve it by setting z-index) but I have tried playing around in the Developer Tools (F12) in Chrome and can't seem to resolve it. It is probably pretty simple. Any ideas? (btw I don't use the css head code).
. minor problem. I abhor scroll bars or, rather, not being able to adjust things to fit where I want it to. Again, I have tried playing around with sizing but it looks like it is a fixed size ? so that it will fit into the size you specify but not reduced/increased to fit. Is that the case?
On reflection, both seem pretty naive questions but age is getting the better of me.
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Silverlight, a couple of minor things.
- gluepack
- Posts: 460
- Joined: Tue 22 Jan 2013 9:20 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 7 Pro
- Location: Zlatina, Bulgaria
Silverlight, a couple of minor things.
PWS links: Wunderground➤IVARNAPR3…CWOP/APRS➤E(W)2048…PWSWeather➤ZLATINABG…Awekas➤10631…Twitter➤@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Silverlight, a couple of minor things.
I think the overlay problem is because silverlight is writing direct into the video card buffer (like video playback apps do) so setting z-index will not have any effect.
As far as I know the applet is a fixed size.
As far as I know the applet is a fixed size.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Silverlight, a couple of minor things.
I don't know a lot about how Silverlight does its graphics, but I do know it uses hardware acceleration, so I suspect this is what Mark is describing. And yes, it's a fixed size. Unfortunately I can no longer do any development on it as my subscription to the component set that it uses has lapsed so I would have to take out a new subscription, and this would cost 1000 UKP for the first year.
You could try adding to the parameters for the application to see if it fixes the menu problem. I don't whether it will have other unwanted effects, though.
You could try adding
Code: Select all
<param name="windowless" value="true" />Steve
- gluepack
- Posts: 460
- Joined: Tue 22 Jan 2013 9:20 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 7 Pro
- Location: Zlatina, Bulgaria
Re: Silverlight, a couple of minor things.
Thanks.
I couldn't get back on to the forum as there was a SQL error but...
tgf Google. Sorry, I should have tried there first and I pretty quickly found that adding <param name="windowless" value="true" /> resolved the overlay problem.
As far as sizing is concerned, I found two or three complex solutions but I also found a reference to....
http://stackoverflow.com/questions/6369 ... deo-player
I couldn't get back on to the forum as there was a SQL error but...
tgf Google. Sorry, I should have tried there first and I pretty quickly found that adding <param name="windowless" value="true" /> resolved the overlay problem.
As far as sizing is concerned, I found two or three complex solutions but I also found a reference to....
...but it was rather cryptic and I haven't figured out what they mean yet.Silverlight: Absolutely. Just set the the Stretch property to Uniform and then alter either the Width or Height as you resize.
http://stackoverflow.com/questions/6369 ... deo-player
PWS links: Wunderground➤IVARNAPR3…CWOP/APRS➤E(W)2048…PWSWeather➤ZLATINABG…Awekas➤10631…Twitter➤@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Silverlight, a couple of minor things.
I think it's referring to changes required in the application itself, unfortunately.
Steve
- gluepack
- Posts: 460
- Joined: Tue 22 Jan 2013 9:20 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 7 Pro
- Location: Zlatina, Bulgaria
Re: Silverlight, a couple of minor things.
Oh well, I think it is gradually giving up the ghost.
Chrome appears to be the only browser now that shows it correctly.
Firefox/Waterfox doesn't show it at all (at least on my systems).
Safari shows a grey square where it should be but no image.
IE, for some reason, displays a very cropped version now, reducing it to about 1/4 height, with added scrollbar.
btw, the overlaying of menu items, that was corrected by your suggested code mod, occurs with WU's rapid fire as well, in all browsers except Chrome. Is there a fix for that as well, do you know?
Oh the joys of php/css/html/etc.,etc.
Chrome appears to be the only browser now that shows it correctly.
Firefox/Waterfox doesn't show it at all (at least on my systems).
Safari shows a grey square where it should be but no image.
IE, for some reason, displays a very cropped version now, reducing it to about 1/4 height, with added scrollbar.
btw, the overlaying of menu items, that was corrected by your suggested code mod, occurs with WU's rapid fire as well, in all browsers except Chrome. Is there a fix for that as well, do you know?
Oh the joys of php/css/html/etc.,etc.
PWS links: Wunderground➤IVARNAPR3…CWOP/APRS➤E(W)2048…PWSWeather➤ZLATINABG…Awekas➤10631…Twitter➤@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Silverlight, a couple of minor things.
The equivalent for Flash seems to be
Code: Select all
<param name="wmode" value="transparent">Steve
- gluepack
- Posts: 460
- Joined: Tue 22 Jan 2013 9:20 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 7 Pro
- Location: Zlatina, Bulgaria
Re: Silverlight, a couple of minor things.
Not sure if it needs the terminator or not but, even with that, it doesn't seem to help. Thanks anyway.
PWS links: Wunderground➤IVARNAPR3…CWOP/APRS➤E(W)2048…PWSWeather➤ZLATINABG…Awekas➤10631…Twitter➤@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
- gluepack
- Posts: 460
- Joined: Tue 22 Jan 2013 9:20 pm
- Weather Station: PCE-FWS 20
- Operating System: Win 7 Pro
- Location: Zlatina, Bulgaria
Re: Silverlight, a couple of minor things.
Oh and Silverlight now appears to be working on Waterfox/Firefox and, also, IE displays it fully since I changed height to an explicit amount as opposed to 100% (what did it think it was doing 100% of ?).
PWS links: Wunderground➤IVARNAPR3…CWOP/APRS➤E(W)2048…PWSWeather➤ZLATINABG…Awekas➤10631…Twitter➤@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau