Location对象location用于获取或设置窗体的URL,并且可以用于解析URL。语法: location.[属性|方法] location对象属性图示: location 对象属性: location 对象方法: 获取当前显示文档的URL,并输出: 1 <script type="text/
分类:
编程语言 时间:
2016-03-07 13:30:56
阅读次数:
213
一些与屏幕有关的基础知识: //这个是手机屏幕的旋转角度 final int rotation = this.getWindowManager().getDefaultDisplay().getOrientation(); rotation值有: Surface.ROTATION_0 Surface
分类:
移动开发 时间:
2016-03-07 01:28:40
阅读次数:
282
I also faced the same problem few weeks ago when implementing a VoIP server. After spending several days I could come up with a solution. As many othe
分类:
其他好文 时间:
2016-03-05 16:19:18
阅读次数:
203
手机网页能通过window.screen.height, width获取屏幕分辨率,于是能够通过分辨率比率来计算高度。 window.onload=function(){ var swiper = document.getElementById("swiper"); var scale = wind
分类:
移动开发 时间:
2016-03-05 14:34:24
阅读次数:
180
:root { font-size: 16px; } @media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-device-pixel-ratio: 2) { :root
分类:
移动开发 时间:
2016-03-03 12:55:54
阅读次数:
160
以常会遇到在查看配置或者display时所有内容一次显示,这样对查找信息非常不方便,可以在设备上通过命令进行调整。<GCJ9312-CORE>screen-length30temporary
分类:
其他好文 时间:
2016-03-02 11:26:16
阅读次数:
263
转载 - Recurrent Neural Networks Tutorial, Part 2 – Implementing a RNN with Python, Numpy and Theano This the second part of the Recurrent Neural Networ...
分类:
编程语言 时间:
2016-03-02 11:04:35
阅读次数:
445
页面 引用jar 包 <link rel="stylesheet" href="../../style/zui.min.css" type="text/css" media="screen" /> <script type="text/javascript" src="../../zui/jquer
分类:
Web程序 时间:
2016-03-01 12:42:24
阅读次数:
300
1、使用putty或类似的SSH工具登陆VPS或服务器; 登陆后运行:screen -S lnmp 如果提示screen: command not found 命令不存在可以执行:yum install screen 或 apt-get install screen安装。 screen使用教程 2、
分类:
其他好文 时间:
2016-02-29 12:29:00
阅读次数:
334
经常为不同分辨率设备或不同窗口大小下布局错位而头疼,可以利用@media screen实现网页布局的自适应,但是怎样兼容所有主流设备就成了问题。到底分辨率是多少的时候设置呢? 先看下面的代码,这是从bootstrap中遍历出来的,min-width来确认分别是 768、992、1200。当然了过去也
分类:
Web程序 时间:
2016-02-29 09:20:31
阅读次数:
166