Get Eric Shulman's InlineJavascriptPlugin from tiddlytools.com,
install, and reload. Then in your tiddler put:

<html><div id="c_ce083d650e1f57729bf6cae300e9f5a3" class="alto"><h2
style="color: #000000; margin: 0 0 3px; padding: 2px; font: bold 13px/
1.2 Verdana; text-align: center;">Väder Eskilstuna</h2></div></html>
<script>(function () {var widget        = document.getElementById
('c_ce083d650e1f57729bf6cae300e9f5a3');if (widget)
{widget.style.cssText   = 'border:1px solid #000000;width:165px;height:
219px;background:#ffffff;overflow:hidden;';widget.innerHTML             =
'<iframe id="fr_ce083d650e1f57729bf6cae300e9f5a3" src="http://
www.klart.se/widget/get_widget/ce083d650e1f57729bf6cae300e9f5a3?v=11000"
frameborder="0" scrolling="no" width="100%" height="100%"
allowtransparency="true" style="overflow: hidden;"></iframe>';}})();</
script>

What I've done is take the first part of the original script and wrap
it in <html> tags to create the html objects that the script needs.
Then I've taken the source from the widget (from the web site) and
wrapped it in Eric's <script> tags.

Works on mine ... now does anyone know if there is a US based weather
widget to do the same thing?

On Dec 17, 5:14 am, Tobbe <[email protected]> wrote:
> Hi,
>
> On the swedish sitehttp://klart.seyou can get a script so you can
> put on your website. I've done this for my hometown Eskilstuna/Sweden
> and the code is like this:
>
> <div id="c_ce083d650e1f57729bf6cae300e9f5a3" class="alto"><h2
> style="color: #000000; margin: 0 0 3px; padding: 2px; font: bold 13px/
> 1.2 Verdana; text-align: center;">Väder Eskilstuna</h2></div><script
> type="text/javascript" src="http://www.klart.se/widget/widget_loader/
> ce083d650e1f57729bf6cae300e9f5a3"></script>
>
> I paste it in a new tiddler but it doesn't show up as it should. Do I
> miss any macro/plugin/script to make it work?
>
> Thanks in advance
>
> //Tobbe

--

You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.


Reply via email to