• properties-yml.jar

    yml properties相互转换 工具 java小工具 命令:java -jar properties-yml.jar application.properties 生成application.properties 命令:java -jar properties-yml.jar application.yml 生成application.yml

    0
    360
    120KB
    2021-08-11
    50
  • 四级词汇 音标 例句

    四级词汇,带有音标和例句,部分四级词汇以外的单词没有音标

    0
    74
    937KB
    2013-03-25
    10
  • 手机横竖屏切换事件

    <!DOCTYPE html> &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="application/xhtml+xml;charset=UTF-8" /&gt; &lt;meta name="viewport" content="width=device-width" /&gt; &lt;title&gt;手机横、竖屏事件&lt;/title&gt; [removed] //屏幕方向标识,0横屏,其他值竖屏 var orientation=0; //转屏事件,内部功能可以自定义 function screenOrientationEvent(){ if(orientation == 0)document.getElementById("change").value="竖"; else document.getElementById("change").value="横"; } var innerWidthTmp = window.innerWidth; //横竖屏事件监听方法 function screenOrientationListener(){ try{ var iw = window.innerWidth; //屏幕方向改变处理 if(iw != innerWidthTmp){ if(iw>window.innerHeight)orientation = 90; else orientation = 0; //调用转屏事件 screenOrientationEvent(); innerWidthTmp = iw; } } catch(e){alert&#40;e&#41;;}; //间隔固定事件检查是否转屏,默认500毫秒 setTimeout("screenOrientationListener()",500); } //启动横竖屏事件监听 screenOrientationListener(); [removed] &lt;/head&gt; &lt;body &lt;input id="change" type="text" value=""/> &lt;/body&gt; &lt;/html&gt;

    0
    568
    1KB
    2013-02-26
    20
  • 新秀勋章

    用户首次发布原创文章,审核通过后即可获得
  • 分享小兵

    成功上传3个资源即可获取
  • 分享学徒

    成功上传1个资源即可获取
关注 私信
上传资源赚积分or赚钱