Widget landscapes

Any questions? Any answers?
Plomme

Re: Widget landscapes

Post 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)
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Widget landscapes

Post by ikarus1969 »

Plomme wrote:Maybe I should wait for "The Widget Manual" to come online?

Plomme
(http://www.plommeveien.org/ver/yr.php)
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
Plomme - crossdomain.xml.jpg (34.26 KiB) Viewed 8735 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.
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Widget landscapes

Post 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)
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
Plomme

Re: Widget landscapes

Post 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
Last edited by Plomme on Mon Aug 23, 2010 11:22 am, edited 1 time in total.
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Widget landscapes

Post 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
Plomme - it works.jpg (222.87 KiB) Viewed 8730 times
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
Plomme

Re: Widget landscapes

Post 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
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Widget landscapes

Post by ikarus1969 »

Plomme wrote:Hi ikarus1969,

Yes, everything looks fine after I restarted my browser.
Thanks for all Your help.

Plomme
You're welcome! :)
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
User avatar
Toine Culot
Posts: 54
Joined: Fri Nov 20, 2009 5:35 pm
Name: Roger DAVID
Location: Cerfontaine, Lacs de l'Eau d'Heure, Belgium
Contact:

Re: Widget landscapes

Post by Toine Culot »

Hello,

I managed (with some difficulty :oops: ) to place the widget on my site, but I can not centre on the page.http://www.meteodheure.net/

Can you help me please ;)
Roger DAVID
Cerfontaine, Lacs de l'Eau d'Heure, Belgium
Alt : 233m - 50°10'7''N et 4°24'13E
http://www.meteodheure.net
User avatar
par
Posts: 8736
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Widget landscapes

Post 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&copyright_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>
Get YoWindow weather app for your phone or tablet.

Image Image Image
User avatar
Toine Culot
Posts: 54
Joined: Fri Nov 20, 2009 5:35 pm
Name: Roger DAVID
Location: Cerfontaine, Lacs de l'Eau d'Heure, Belgium
Contact:

Re: Widget landscapes

Post 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! :)
Roger DAVID
Cerfontaine, Lacs de l'Eau d'Heure, Belgium
Alt : 233m - 50°10'7''N et 4°24'13E
http://www.meteodheure.net
Post Reply