当前位置: 首页 > news >正文

做视频网站需要什么空间吗手机企业网站源码

做视频网站需要什么空间吗,手机企业网站源码,深圳网站建设制作哪家便宜,保险代理公司注册条件今天Vimpyboy 在codeplex发布了Windows Mobile Widget Emulator。这是一个用来调试Windows Mobile 6.5 Widget的工具#xff0c;我在做Windows Mobile 6.5 新功能widget开发 的时候就发现调试Widget很麻烦。也有想法做一个Emulator#xff0c;其实这个Emulator目标很明显我在做Windows Mobile 6.5 新功能widget开发 的时候就发现调试Widget很麻烦。也有想法做一个Emulator其实这个Emulator目标很明显第一个目标就是实现MS Widget提供的javascript的menu对象。下面代码来自于Windows Mobile Widget Emulator。实现menu对象。 var widget { menu: { createMenuItem: function(id) {this.id id;this.text ;this.onSelect function() { };return this; }, setSoftKey: function(menuItem, idx) { var menuItemCopy menuItem.Copy();if (idx 1) { var el window.parent.document.getElementById(leftMenu); var newItem window.parent.document.createElement(li); var newLink window.parent.document.createElement(a); newLink.onclick function() { menuItemCopy.onSelect() }; newLink.href #; newLink.innerHTML menuItemCopy.text; newItem.appendChild(newLink); el.insertBefore(newItem, el.firstChild);return this; }else { var el window.parent.document.getElementById(rightMenu); var arrlength widget.menu.menuItems.length; var newItem window.parent.document.createElement(li); var newLink window.parent.document.createElement(a); newLink.onclick function() { menuItemCopy.onSelect() }; newLink.setAttribute(id, widgetmenu- arrlength); newLink.href #; newLink.innerHTML menuItemCopy.text; widget.menu.menuItems[arrlength] menuItemCopy; newItem.appendChild(newLink); el.insertBefore(newItem, el.firstChild);return this; } }, append: function(menuItem) { widget.menu.setSoftKey(menuItem); }, clear: function() { var el window.parent.document.getElementById(rightMenu); el.innerHTML ; }, leftSoftKeyIndex: 1, menuItems: [] }, preferenceForKey: function(key) {if (document.cookie.length 0) { idx document.cookie.indexOf(key );if (idx ! -1) { idx idx key.length 1; idxlast document.cookie.indexOf(;, idx);if (idxlast -1) idxlast document.cookie.length;return unescape(document.cookie.substring(idx, idxlast)); } }return ; }, setPreferenceForKey: function(value, key) {if (!key) return;if (!value key) { var d new Date(); var c document.cookie.split(;);for (var i 0; i c.length; i) { document.cookie c[i] ; expires d.toGMTString(); }return; } var saveValue value;if (value.text) saveValue value.text;if (value.value) saveValue value.value;if (saveValue.length undefined || saveValue.length 1) return;if (saveValue.length undefined || saveValue 1) return; var exdate new Date(); exdate.setFullYear(2020, 12, 31); document.cookie key escape(saveValue) ;expires exdate.toGMTString(); }, authorEmail: Placeholder: E-mail address of author., authorName: Placeholder: Name of author., authorURL: Placeholder: Web site URL for author., currentIcon: { height: 100, src: icon.png, width: 100 }, description: Placeholder: Description of widget., height: Placeholder: Height of widget., identifier: Placeholder: A unique identifier for the widget., locale: Placeholder: Locale of widget., name: Placeholder: Name of widget., version: Placeholder: Version of widget., width: Placeholder: Width of widget.};   第二个目标是可以动态调整resolution。Windows Mobile Widget Emulator也实现了和我想法是一样的。       我当初的想法是直接使用MS 的emulator的图片这些图片保存在C:\Program Files\Windows Mobile 6 SDK\PocketPC\DeviceemulationV650下而且每个emulator都有XML定义文件可以直接取出这些定义文件和图片进行resolution的选择。   第三个要实现的目标是不需要修改开发中的widget的源代码直接可以调试。这个我想比较难实现我开始想用firefox的addon来实现可是firefox的javascript和ie有区别在ff调试通过不一定在ie能用可能做ie的addon可以解决这个问题。 Windows Mobile Widget Emulator也没有解决这个问题需要修改iframe和增加一个javascript的引用。原文如下 How to usePut your widget in a new folder in the widgets folder. Modify the iframe in index.html to show your widget. Add this code to the html file used by your widget: script srchttp://www.cnblogs.com/assets/Widget.js typetext/javascript/script Anyway很高兴Windows Mobile Widget Emulator的发布。以后开发widget我会使用他进行调试。 转载于:https://www.cnblogs.com/procoder/archive/2009/08/07/1540967.html
http://www.zqtcl.cn/news/789961/

相关文章:

  • 建设网站二级子页打不开广告设计平面设计培训班
  • 网站公司做网站要多少钱新乡
  • 天津谁做网站莱芜人才网招聘网
  • 学做网站的书籍自己做网站 最好的软件
  • 手机网站专题电商入门视频教程免费
  • aspx网站模板制作网页常用的软件有哪些
  • 网站主关键词湖南网站定制
  • 长沙seo网站排名优化公司进入秦皇岛最新规定
  • 企业网站优化平台宝山北京网站建设
  • 给人做代工的网站加盟代理网
  • 网站建设用dw电脑谷歌浏览器打开是2345网址导航
  • 做外贸一般总浏览的网站太原的网站建设公司哪家好
  • 台州建网站公司wordpress 用微信登陆
  • 广州白云网站建设家在深圳业主
  • 呼和浩特网站建设哪家最便宜?携程旅行网网站策划书
  • 网站建设及相关流程北京网站备案域名
  • 汉字叔叔花了多少钱做网站微商城科技
  • 网站代理被抓html网站开发实战
  • 如何建立免费的网站网站copyright写法
  • 官方网站下载12306合肥有没有做网站的单位
  • 甘露园网站建设网站框架图片
  • 做网站怎样赚卖流量石家庄网站建设联系电话
  • wordpress 图片网站本地免费发布信息网站
  • 建设网站和别人公司重名新乡建设招标投标网站
  • 四川省建设厅网站证想开个网站怎样开公司
  • 做机械一般做那个外贸网站电商软件开发费用
  • 网站外链坏处龙岗网站设计信息
  • 郑州网站建设乙汉狮网络搜索优化网络推广
  • Dw做html网站百度推广竞价排名
  • 北京市电力建设公司网站万云网络网站