• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 153 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0016 秒)

151. 用iframe内嵌网页及适配 [ 52%]

...clientScaleY; var styleStr = "position: absolute; left: {0}px; top: {1}px; z-index: 100009;";//laya 的index是100000 var str = styleStr.format((laya.utils.Browser.width - frameWidth) * 0.5, (laya.utils.Browser.height - frameHeight) * 0.5); this.iframe.setAttribute('width', frameWidth); this.iframe....

来源: Laya_社区 发布时间: 20170415

152. 某些机型drawToCanv绘图颜色变深 [ 42%]

...ame.setAttribute('position', "absolute"); _webframe.setAttribute('style', "z-index:100001;position: absolute; left: 0px; top: 0px; background: rgb(0, 0, 0);"); Browser.document.body.appendChild(_webframe); 下面图片左边是正产机型截图,右边是联想手机截图。已测试jepg和png格...

来源: Laya_社区 发布时间: 20180103

153. Layabox web 复制一段文字到剪贴板 [ 33%]

...gin-left:-200px;margin-top:-150px; visibility:hidden;background-color:#fff;z-index:100;border:1px solid grey;overflow: hidden;} .MyContent{position:fixed;left:50%;top:50%;} .MyBtn{width:100%;height:18%;background-color:white;} #confirm{position:fixed;left:49%;top:53%;font-size:30px;color:black;font-...

来源: Laya_社区 发布时间: 20181214