Hi,
I just found this widget and wanted to put it on a blog. Once the code past on my blog, with a french city, it showed me New York City forecast.
I don't know why. Do you ?
Thanks.
Wrong location in widget
- countryroads
- Posts: 8839
- Joined: Tue Apr 27, 2010 3:38 am
- Name: Marty
- Location: Mansfield, Ohio USA
- Contact:
Re: Wrong location in widget
Hi Beber,
Welcome to YoWindow.
Can you supply us with a link to your Blog so we can look at your code?
Without the code, it is a little difficult to help you out.
Thanks in advance for the code.
Marty
Welcome to YoWindow.
Can you supply us with a link to your Blog so we can look at your code?
Without the code, it is a little difficult to help you out.
Thanks in advance for the code.
Marty
Re: Wrong location in widget
Here is the code i used :
My blog is :http://laure-aurelien.ameliste.fr (page "Météo" on the right of the page)
It's my wedding website It's a pre made blog so i think i can't go in the source code. But pasting the code make the widget.
Thx
Code: Select all
<div style="width:220px; height:150px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="220" 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="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:3028641&location_name=Carcassonne&time_format=24&us=metric&lang=fr&background=#FFFFFF©right_bar=false"
/>
<a href="http://yowindow.com?client=widget&link=stub"
style="width:220px;height:150px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Desktop weather</a>
</object>
</div>
<div style="width: 220px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; text-decoration:none;" title="Desktop weather">YoWindow.com</a></span>
<span style="float:right; color:#888888;"><a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>
It's my wedding website It's a pre made blog so i think i can't go in the source code. But pasting the code make the widget.
Thx
Re: Wrong location in widget
The code you just posted is the right one for Carcassonne...
However...the code is totally messed up on your blog...
I just copied the source which refers to the widget...
You should get rid of those   entries...
That's why it displays the weather in NY...
Hope this helps...
However...the code is totally messed up on your blog...
I just copied the source which refers to the widget...
Code: Select all
<div style="width:220px; height:150px;"><br />
    <object width="220" height="150" type="application/x-shockwave-flash"
data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"><br />
        
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" /><br />
        
<param name="allowfullscreen" value="true" /><br />
        
<param name="wmode" value="opaque" /><br />
        
<param name="bgcolor" value="#FFFFFF" /><br />
        
<param name="flashvars" />       
 value="location_id=gn:3028641&location_name=Carcassonne&time_format=24&us=metric&lang=fr&
amp;background=#FFFFFF©right_bar=false"<br />
    /><br />
               
style="width:220px;height:150px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url
(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"<br />
        >Desktop weather<br />
    </object></div>
That's why it displays the weather in NY...
Hope this helps...
Wally©...
(Ignorance can easily be overcome...Stupidity is 4ever...)
(Ignorance can easily be overcome...Stupidity is 4ever...)
Re: Wrong location in widget
Thx for your answers.
You were right, the code is totally messed up in the source.
I just found how to change the source. Deleting   entries was useless. So i pasted the right code and it's now working.
Thank you for your help Wally and Countryroads !!!
By. Have a good day or evening wherever you are. It's gonna be a good night for me.
Thx again !
You were right, the code is totally messed up in the source.
I just found how to change the source. Deleting   entries was useless. So i pasted the right code and it's now working.
Thank you for your help Wally and Countryroads !!!
By. Have a good day or evening wherever you are. It's gonna be a good night for me.
Thx again !
Re: Wrong location in widget
Il n'y a pas de quoi...
I wish you and Laure all the best life has to offer...
Have a wonderful wedding in August !!!
I wish you and Laure all the best life has to offer...
Have a wonderful wedding in August !!!
Wally©...
(Ignorance can easily be overcome...Stupidity is 4ever...)
(Ignorance can easily be overcome...Stupidity is 4ever...)