Page 2 of 2
Re: Widget landscapes
Posted: Mon Aug 23, 2010 10:49 am
by Plomme
Hi, and thanks for all help.
I removed the surplus code, but the picture is still missing.
Maybe I should wait for "The Widget Manual" to come online?
Plomme
(
http://www.plommeveien.org/ver/yr.php)
Re: Widget landscapes
Posted: Mon Aug 23, 2010 11:02 am
by ikarus1969
You can do so, but i don't think it's necessary.
Try to modify your crossdomain.xml: remove the "-" at the beginning of the file:

- Plomme - crossdomain.xml.jpg (34.26 KiB) Viewed 8742 times
ps.: i tried your ywl-file. It's correct, i can see your landscape. so the crossdomain-file was the remaining reason for something not ok.
Re: Widget landscapes
Posted: Mon Aug 23, 2010 11:14 am
by ikarus1969
I don't know for sure but maybe you should also complete your crossdomain.xm like the one mentioned in the faq of YoWindow:
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" />
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
Link:
http://yowindow.com/crossdomain.xml
(add the "xml version" -line; add the "doctype"-line)
Re: Widget landscapes
Posted: Mon Aug 23, 2010 11:16 am
by Plomme
ikarus1969 wrote:
You can do so, but i don't think it's necessary.
Try to modify your crossdomain.xml: remove the "-" at the beginning of the file:
Plomme - crossdomain.xml.jpg
ps.: i tried your ywl-file. It's correct, i can see your landscape. so the crossdomain-file was the remaining reason for something not ok.
Hi ikarus1969,
I have modified the crossdomain file, and it seems OK in IE and also Linux based Firefox. I will try to restart this Firefox session and see what happens. I also will include the mods in the crossdomain file.
Plomme
Re: Widget landscapes
Posted: Mon Aug 23, 2010 11:19 am
by ikarus1969
Plomme wrote:Hi ikarus1969,
I have modified the crossdomain file, but nothing happened...
Plomme
You're wrong: something happened !
So on the other hand, you're right (or you must have done somehting right):
Try to clear your browsers cache and try again.
See what happens when i click on
http://www.plommeveien.org/ver/yr.php:

- Plomme - it works.jpg (222.87 KiB) Viewed 8737 times
Re: Widget landscapes
Posted: Mon Aug 23, 2010 11:29 am
by Plomme
ikarus1969 wrote:
You're wrong: something happened !
So on the other hand, you're right (or you must have done somehting right):
Try to clear your browsers cache and try again.
Hi ikarus1969,
Yes, everything looks fine after I restarted my browser.
Thanks for all Your help.
Plomme
Re: Widget landscapes
Posted: Mon Aug 23, 2010 11:30 am
by ikarus1969
Plomme wrote:Hi ikarus1969,
Yes, everything looks fine after I restarted my browser.
Thanks for all Your help.
Plomme
You're welcome!

Re: Widget landscapes
Posted: Tue Aug 31, 2010 2:45 pm
by Toine Culot
Hello,
I managed (with some difficulty

) to place the widget on my site, but I can not centre on the page.
http://www.meteodheure.net/
Can you help me please

Re: Widget landscapes
Posted: Thu Sep 02, 2010 11:53 am
by par
Roger, to lay out the widget as you wish you may use this technique
Wrap the widget inside <div> tag, and set horizontal offset to 80 pixels.
This is not a good solution, but it will work.
You need to understand CSS rules to layout HTML properly.
Code: Select all
<div style="margin-left: 80px;">
<object type="application/x-shockwave-flash" data="M%C3%A9t%C3%A9o%20des%20Lacs%20de%20l%27Eau%20d%27Heure_files/hpPal.swf" height="350" width="500">
<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:2800591&landscape=http://meteodheure.net/landscapes/MoH/MoH.ywl&location_name=Le%20Pays%20de%20l'Eau%20d'Heure&time_format=24&unit_system=metric&lang=fr&background=#FFFFFF©right_bar=false">
<a href="http://yowindow.com/?client=widget&link=stub" style="width: 500px; height: 350px; display: block; text-indent: -50000px; font-size: 0px; -moz-background-inline-policy: continuous; background: url("http://yowindow.com/img/logo.png") no-repeat scroll 50% 50% rgb(221, 221, 255);">Desktop weather</a>
</object>
</div>
Re: Widget landscapes
Posted: Thu Sep 02, 2010 2:28 pm
by Toine Culot
Pasha,
I'm definitely not an expert, but I also changed the script to the links below the widget and it's perfect.
Thank you!
