Page 1 of 1

Widget with Stylesheet

Posted: Wed Apr 27, 2011 8:09 am
by munchenwetter
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 6875 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

Re: Widget with Stylesheet

Posted: Wed Apr 27, 2011 9:04 am
by ikarus1969
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.

Re: Widget with Stylesheet

Posted: Wed Apr 27, 2011 9:08 am
by munchenwetter
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

Re: Widget with Stylesheet

Posted: Wed Apr 27, 2011 9:54 am
by ikarus1969
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)

Re: Widget with Stylesheet

Posted: Wed Apr 27, 2011 10:25 am
by par
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.

Re: Widget with Stylesheet

Posted: Wed Apr 27, 2011 12:20 pm
by munchenwetter
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

Re: Widget with Stylesheet

Posted: Sat Apr 30, 2011 5:31 am
by par
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:

Re: Widget with Stylesheet

Posted: Sun May 01, 2011 4:21 pm
by par
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