Why is adding HTML code so difficult?
I'm trying to add a weather widget into my book. Yes, I've been spending a lot of time looking into dashcode and creating the widget from scratch, but I can't get it done. Even though I got Xcode and dashcode installed, I'm not that technically inclined and can't figure out how to take this snippet:
<script src="http://weatherandtime.net/swfobject.js" type="text/javascript" ></script><div id="div_weather_05" style="padding:0px;text-align:center; margin:auto auto;width:170px; height:220px;"><div style="padding:1px;position:relative; z-index:100; color:#FFFFFF; text-align:center;left:50px;top:182px; width:115px;height:auto;overflow:hidden;"><a style="margin:0px; padding:3px; color:#FFFFFF; text-decoration:none; font-size:12px;" href="http://weatherandtime.net/en/Asia/Sri-Lanka/Colombo-weather.html" title="Colombo Weather"><nobr>Colombo Weather</nobr></a></div><span id="swf_weather_05"> </span></div><script type="text/javascript" language="Javascript">swfobject.embedSWF("http://weatherandtime.net/weather_05.swf", "swf_weather_05", "170", "200", "10","weather_05.swf", {city: "19459",lang:"en"}, {menu:"false",wmode:"transparent",allowScriptAccess:"always"}, {id:"weather_05",name:"weather_05"});</script>
and make it into a widget that I can just drag and drop into the book's HTML widget window. Is there an easier way to do this? Otherwise, unfortunately, I don't think I'll be able to use some of these key features.