介绍windows下面设置ActiveDesktop的函数
window.external.AddDesktopComponent(
strurl,//地址
strtype,//类型"image"为图象"website"为网页
intLeft,//离左面的左边距
intTop,//顶
intWidth,//宽
intHeight//高
);

下面让我们把oso的图片放到桌面的右上方
<script>
window.external.AddDesktopComponent(
  "http://www.oso.com.cn/image/logo.gif",
  "image",
  screen.availWidth-160,0,160,60
);
</script>