Problems with widget parameters
Posted: Sun Mar 14, 2010 9:53 pm
It's hard, but I'll try to explain:
I created my widget choosing parameters as follows: location/Venice(Italy); language/Italian; window size/w210-h150; time format/24hours; temperature unit/Celsius; window look/all the 4 options choosen. Preview showed all the requested parameters properly.
Then, when I copied and pasted the code inside my blog, language turned into English; time format turned into AM/PM; temperature unit turned into Fahrenheit. Also changed backgound colour from #FFFFFF to #FFFEFC7, but the new colour hasn't been showed.
Although I'm a simple user, not an expert, I've tried to fix my script, and now it looks as follows:
<pre>
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="210" height="150">
<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="#FFEFC7" />
<param name="time_format" value="24&" />
<param name="unit_system" value="metric&" />
<param name="lang" value="it&" />
<param name="flashvars"
value="location_id=gn:3164603&time_format=24&unit_system=metric&lang=it&background=#FFEFC7"/" />
</object>
</pre>
Using that amended code my widget seems to work properly and now shows the correct parameters, except only for background colour.
I feel surprised, but I'm not sure of myself and need the counsel of an expert.
Thanks in advance.
Donatella
I created my widget choosing parameters as follows: location/Venice(Italy); language/Italian; window size/w210-h150; time format/24hours; temperature unit/Celsius; window look/all the 4 options choosen. Preview showed all the requested parameters properly.
Then, when I copied and pasted the code inside my blog, language turned into English; time format turned into AM/PM; temperature unit turned into Fahrenheit. Also changed backgound colour from #FFFFFF to #FFFEFC7, but the new colour hasn't been showed.
Although I'm a simple user, not an expert, I've tried to fix my script, and now it looks as follows:
<pre>
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="210" height="150">
<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="#FFEFC7" />
<param name="time_format" value="24&" />
<param name="unit_system" value="metric&" />
<param name="lang" value="it&" />
<param name="flashvars"
value="location_id=gn:3164603&time_format=24&unit_system=metric&lang=it&background=#FFEFC7"/" />
</object>
</pre>
Using that amended code my widget seems to work properly and now shows the correct parameters, except only for background colour.
I feel surprised, but I'm not sure of myself and need the counsel of an expert.
Thanks in advance.
Donatella