id name

YoWindow widget Questions, Suggestions and Bugs
Post Reply
mateusz

id name

Post by mateusz »

i have code:

Code: Select all

YoWidget.embed(
                'UWeather1_embed',
                500,
                400,
                {"landscape":"seaside","background":"#FFFFFF","lang":"pl","unit_system":"metric","time_format":"24"},
                {"quality":"hight","bgcolor":"#ffffff","allowscriptaccess":"always","allowfullscreen":"true","wmode":"opaque"},
                {"id":"UWeather1","name":"UWeather1"}
            );
in DOM document i see:

Code: Select all

<div id="UWeather1_embed"><div id="yowidget">(...)</div></div>
is correct id="yowidget"? i defined id like UWeather1?

sorry for my english ;)
User avatar
par
Posts: 8623
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: id name

Post by par »

Dear Mateus, the code looks correct.
Get YoWindow weather app for your phone or tablet.

Image Image Image
mateusz

Re: id name

Post by mateusz »

ok, i try explain:

i defined
{"id":"UWeather1","name":"UWeather1"}

why div have id="yowidget"? not id="UWeather1"?

in whis option i cant display 2 yowidget in 1 page ;)
mateusz

Re: id name

Post by mateusz »

??
User avatar
par
Posts: 8623
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: id name

Post by par »

FIxed!

Clean your browser cache and reload the page to make sure you are working with the latest widget and java-script library.
Get YoWindow weather app for your phone or tablet.

Image Image Image
Post Reply