id name

YoWindow widget Questions, Suggestions and Bugs
Post Reply
mateusz

id name

Post by mateusz » Wed Apr 04, 2012 7:14 pm

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: 7843
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: id name

Post by par » Thu Apr 05, 2012 1:42 pm

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 » Thu Apr 05, 2012 2:12 pm

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 » Tue Apr 10, 2012 4:37 pm

??

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

Re: id name

Post by par » Wed Apr 11, 2012 1:20 pm

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