Widget with Stylesheet

YoWindow widget Questions, Suggestions and Bugs
Post Reply
munchenwetter

Widget with Stylesheet

Post by munchenwetter » Wed Apr 27, 2011 8:09 am

Good Morning,

yesterday, i was proud to link my weather-server "meteohub" via php with yowindow. Thanks
for your tuttorials. Here is the code:

<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="860" height="600">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:2867714&current_weather_url=http://www.wetter-in-muenchen.de/yowind ... /MUC21.ywl" />
</object>

But the style is buggy now, the inspector is too wide.
styles.jpg
styles.jpg (71.94 KiB) Viewed 4370 times
My question1: How can i link the style xml or style.css, to manage the style of the inspector?
My question2: Can i link the file "options" to manage the content?

If i can not link the files, how can i mange the styles?

Thank you for your help in advance.

Frog

User avatar
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Widget with Stylesheet

Post by ikarus1969 » Wed Apr 27, 2011 9:04 am

munchenwetter wrote:But the style is buggy now, the inspector is too wide.
styles.jpg
My question1: How can i link the style xml or style.css, to manage the style of the inspector?
My question2: Can i link the file "options" to manage the content?

If i can not link the files, how can i mange the styles?

Thank you for your help in advance.

Frog
Hi Frog,

currently the inspectors width has a default width which is extended if the text of the sky conditions (here "Zunehmend bewölkt mit geringer Temperaturänderung.") won't fit into it.
So one can say not the inspector is too wide but your text is :wink:

As far as i know there's no (or: not much) possibility to manage the style of the inspector at the moment.
»Man is impressive. In a universe full of untold secrets he has invented boredom.«

munchenwetter

Re: Widget with Stylesheet

Post by munchenwetter » Wed Apr 27, 2011 9:08 am

Hi Ikarus,

thanks for your answer. I kill the forecast-text - hopefully it's smaller then.
Do you know, how i can add some content as daily rain or dewpoint into the inspector?

Bests
Frog

User avatar
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Widget with Stylesheet

Post by ikarus1969 » Wed Apr 27, 2011 9:54 am

munchenwetter wrote:Hi Ikarus,

thanks for your answer. I kill the forecast-text - hopefully it's smaller then.
Do you know, how i can add some content as daily rain or dewpoint into the inspector?

Bests
Frog
Have you checked the option-Settings yet? There you can set daily rain and dewpoint to be displayed in the inspector (provided that the fields are available in the meteohub-generated xml)
»Man is impressive. In a universe full of untold secrets he has invented boredom.«

User avatar
par
Posts: 8186
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Widget with Stylesheet

Post by par » Wed Apr 27, 2011 10:25 am

Hello, Frog, welcome to YoWindow world :)
No, you cannot cusomize the style of YoWindow interface.
Yes, you can control the set of parameters in the Inspector.
See this topic in widget parameters reference
http://yowindow.com/widget_parameters.php#inspector
Let us know if you have any problems with adding parameters.
Get YoWindow weather app for your phone or tablet.

Image Image Image

munchenwetter

Re: Widget with Stylesheet

Post by munchenwetter » Wed Apr 27, 2011 12:20 pm

Thank U Par,

this was helpfully! I implemented some items. :D
Is it possible, to deactivate the highlighting of the dates of the pws?
now i have two different text-colours and the blue ones are not readable...?
Or can i modificate the opazity of the inspector background?

Thanks for your answer in advance...

Frog

http://www.wetter-in-muenchen.de/wetter ... nchen.html

User avatar
par
Posts: 8186
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Widget with Stylesheet

Post by par » Sat Apr 30, 2011 5:31 am

Hey, Frog, sorry for the delay!

There is no yet parameter to disable PWS weather highlighting, we will add it later on.
No, there is no way to control opacity of inspector background, sorry.
I also see this as a problem, I hope we will solve this soon.

I like the quality of the landscape. Very good job! :good:
Get YoWindow weather app for your phone or tablet.

Image Image Image

User avatar
par
Posts: 8186
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Widget with Stylesheet

Post by par » Sun May 01, 2011 4:21 pm

From today you can control the opacity of the widget ui with ui_opacity parameter, see widget parameters reference.

http://yowindow.com/widget_parameters.php
Get YoWindow weather app for your phone or tablet.

Image Image Image

Post Reply