var p_window = window.top; //alert($(p_window).height()); var p_demo = window.top.document.getElementById('demoIframe'); //alert($(p_demo).height()...
分类:
其他好文 时间:
2015-01-09 19:00:21
阅读次数:
183
初代iPhone2007年,初代iPhone发布,屏幕的宽高是 320 x 480 像素。下文也是按照宽度,高度的顺序排列。这个分辨率一直到iPhone 3GS也保持不变。那时编写iOS的App(应用程序),只支持绝对定位。比如一个按钮(x, y, width, height) = (20, 30,...
分类:
移动开发 时间:
2015-01-09 18:54:02
阅读次数:
200
function myshowBox(titles, urls, objWidth, objHeight, flags){ var _title = titles; var _url = urls; var _width = objWidth; var _height = objHeight...
分类:
Web程序 时间:
2015-01-09 17:06:00
阅读次数:
160
就是将上面的自定义布局放到一个Dialog里面,布局xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="155dp"
android:backgro...
分类:
移动开发 时间:
2015-01-09 15:32:11
阅读次数:
386
LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
ListView android:id="@+id/android:list"
android:la...
分类:
移动开发 时间:
2015-01-09 14:20:11
阅读次数:
226
代码例子,加入就能在网页中播放RTSP流。
<OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab"
width="800" height="450" id=...
分类:
Web程序 时间:
2015-01-09 12:37:05
阅读次数:
915
设置View的大小是通过设置`LayoutParams`参数。 如果一个view在一个RelativeLayout里面,需要用一个RelativeLayout.LayoutParams对象来设置 在代码里面设置的高度height是px,如果想用dp单位设置,需要获取屏幕的...
分类:
移动开发 时间:
2015-01-09 10:55:10
阅读次数:
234
.divbackimg{ width:150px; height:50px; background-image:url(./btn.png); -moz-background-size: 100% 100%; -o-background-size: ...
分类:
Web程序 时间:
2015-01-09 10:43:28
阅读次数:
149
.amount-wrap .icon{ display: inline-block; width: 28px; height: 28px; line-height: 28px; text-align: center; border: 1px solid #cdcd...
分类:
其他好文 时间:
2015-01-09 10:39:56
阅读次数:
205
问题描述:
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram.
Above is a histogram where wi...
分类:
其他好文 时间:
2015-01-08 22:49:39
阅读次数:
316