大约有 714 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0041 秒)
Laya_社区(622) Laya2.0_文档(43) Laya3.0_文档(22) Laya2.0_api(12) laya_api(7) Laya3.0_api(4) Laya2.0_示例(2) Laya_示例(2)
...的格式都不行. <img style="height:16px;width:16px" href="testUrl" src="test.png"/> <a href="testUrl" ><img style="height:16px;width:16px" src="test.png"/></a> 请问如何才能给图片也加上超链接,正确的写法是怎样的 2018-11-23 添加评论 已悬赏1...
来源: Laya_社区 发布时间: 20181123
...22px;"> <img style= " display:inline; float:right; " src="Face/img_duihua_qipao_green_01.png "></img> <div style="background:url(Face/img_duihua_qipao_green_02.png); height:100%; min-height:44px; width:400px; border-top-lef...
来源: Laya_社区 发布时间: 20170710
...oElement.style.zInddex = Laya.Render.canvas.style.zIndex + 1; videoElement.src = "../../res/av/mov_bbb.mp4"; videoElement.controls = true; // 阻止IOS视频全屏 videoElement.setAttribute("webkit-playsinline", true); videoElement.setAttribute("playsinline", true); // 设置画布上的对齐参照...
来源: Laya_示例 发布时间: 20241001
HTMLDivElement 控件 显示图片问题, HTMLDivElement 控件 <img src='ico/img_item_200.png'/> 显示不出来好像是那图片打包成大图了,这图片设置成不打包就可以显示出来,但问题是小图片都要打包的, img属性的src能从缓存里面拿图? 这是错误...
来源: Laya_社区 发布时间: 20170503
...添加script标签,对该js文件进行添加,具体如下:<script src='zlib.min.js' loader='laya'></script>//你需要添加的第三方js文件的script标签 <script src='test100.max.js' loader='laya'></script>//自动生成的主js文件的script标签。 注意:你...
来源: Laya_社区 发布时间: 20151105
...新没有同步到bin目录去 版本:1.7.12 今天改了2个ts,然后src下的js有改动,而bin下的没有,后来重启了IDE,再切换了一下项目再切回来,js就更新了,但是ui那个不行:layaUI.max.all.js src下是新的,但是bin没有同步到最新的,请问怎...
来源: Laya_社区 发布时间: 20171208
...bute("type","text/javascript"); fileref.setAttribute("src", filename); trace(fileref); if (typeof fileref!="undefined")Browser.document.getElementsByTagName("head")[0].appendChild(fileref); } 上面是加载js的方法,...
来源: Laya_社区 发布时间: 20170321
HTMLDivElement img 标签问题 做聊天图文混排 <img src='image/chat/face15.png' width='30px' height='30px'></img> 原图为81*81,第一次发,显示是81*81,第2次发就是30*30 图片非要预加载一次吗 附件 : --> 2017-03-29 添加评论 免费帖 --> 分享 微博...
来源: Laya_社区 发布时间: 20170329
... BaseTexture source : *[read-only] 获取纹理资源。 BaseTexture src : String[read-only] 获取文件路径全名。 DataTexture2D width : int[read-only] 获取宽度。 BaseTexturePublic Methods MethodDefined By DataTexture2D() 创建一个 Texture2D 实例。 DataTexture2D create(...
来源: laya_api 发布时间: 20170929
...adingView){ nPercent+=33; window.loadingView.loading(nPercent); } } image1.src = "a.png"; var image2 = document.createElement('img'); image2.onload=function() { if(window.loadingView){ nPercent+=33; window.loadingView.loading(nPercent); } } image2.src = "b.png"; var image3 = document.createElement('...
来源: Laya2.0_文档 发布时间: 20210715