一:window.history对象历史记录,通过历史记录可以操作页面前进或者后退window.history.back();后退window.history.forward();前进window.history.go(n); n是正数代表前进n个页面,n是负数代表后退n个页面。二:window.l...
分类:
编程语言 时间:
2014-09-24 01:10:25
阅读次数:
440
一、window.history对象window.history.back(); //后退window.history.froward(); //前进window.history.go(n); //前进n次(n是正数--前进;n是负数--后退)二、window.location对象 windo...
分类:
其他好文 时间:
2014-09-24 01:03:15
阅读次数:
230
#include #include #include #include using namespace std;int main(int argc, const char *argv[]){ //声明一个空的容器 vector svec; svec.push_back("HeNan...
分类:
其他好文 时间:
2014-09-24 00:28:05
阅读次数:
353
在手机应用中,用户点击回退按钮一般是返回上个页面,一般页面不用处理,如果在首页,点回退,没任何提示,就把应用给关了,这个用户体验就不太好了,所以一般都会给用户一个确认的提示:是否退出?免得用户误操作。
一、 Activity 中处理
@Override
public boolean onKeyDown( int keyCode, KeyEvent event) {
...
分类:
移动开发 时间:
2014-09-24 00:22:25
阅读次数:
298
1.[图片]thumb.png?2. [代码][HTML]代码 CSS3 multicolor menu | Script Tutorials CSS3 multicolor menu Back to original tut...
分类:
Web程序 时间:
2014-09-22 18:58:02
阅读次数:
235
今天在配置git自动在提交时从bare库中检出到应用目录时,竟然出现这个错误,折腾了好久,搞不明白怎么回事,经过测试,发现是git本身的问题,
就是没摸着是什么引起的;
通过google.终于发现说是git版本目录与work目录不允许相同的前缀,也就是work-tree目录=qidizi 而git-dir=qidizi.git
就是work-tree目录完全就是git-dir目录前缀时,就会...
分类:
其他好文 时间:
2014-09-21 04:13:30
阅读次数:
372
BP(Back Propagation)网络是1986年由Rumelhart和McCelland为首的科学家小组提出,是一种按误差逆传播算法训练的多层前馈网络,是眼下应用最广泛的神经网络模型之中的一个。BP网络能学习和存贮大量的输入-输出模式映射关系,而无需事前揭示描写叙述这样的映射关系的数学方程。...
分类:
其他好文 时间:
2014-09-20 14:50:58
阅读次数:
239
Cocos2dxGLSurfaceView.java
public boolean onKeyDown(final int pKeyCode, final KeyEvent pKeyEvent) {
switch (pKeyCode) {
case KeyEvent.KEYCODE_BACK:
Cocos2dxActivity.clossGame();
retur...
分类:
移动开发 时间:
2014-09-19 14:04:25
阅读次数:
243
Ctrl + a - Jump to the start of the lineCtrl + b - Move back a charCtrl + c - Terminate the command Ctrl + d - Delete from under the cursorCtrl + e - ...
分类:
其他好文 时间:
2014-09-19 11:32:05
阅读次数:
159
第一种:window.location.href="login.jsp?backurl=\"+window.location.href; 第二种:alert("返回"); window.history.back(-1); 第三种:window.navigate("top.jsp"); 第四种:sel...
分类:
编程语言 时间:
2014-09-18 22:01:04
阅读次数:
191