摘要:
var positionWin = new parent.window.Ext.Window({ id:"positionWin", width: 600, modal:true, height: 400, title: record.data.PP_Name, layout: 'fit', y:50, closeAction: 'close', maximizable: true, minimizable: false, maximized: false, autoLoad: { url: "/Out.aspx?PS_ID=&qu
阅读全文
posted @ 2011-03-31 16:56
qqhepp
阅读(721)
推荐(0)
编辑
摘要:
语法: text-overflow : clip | ellipsis 参数: clip : 不显示省略标记(...),而是简单的裁切 ellipsis : 当对象内文本溢出时显示省略标记(...) 说明: 设置或检索是否使用一个省略标记(...)标示对象内文本的溢出。 对应的脚本特性为textOverflow。请参阅我编写的其他书目。 示例: div { text-overflow : clip; } 看起来不错,我们测试一下 <div style="width:100px;height:20px;text-overflow:ellipsis; ">a b c
阅读全文
posted @ 2011-03-31 16:51
qqhepp
阅读(338)
推荐(0)
编辑
摘要:
一.页面的后退、刷新、前进 history.go(-1) ;//后退一页 history.go(+1);//前进一页 history.go(-0);//刷新二.保护网页源代码 function clear() { Source=document.body.innerHTML; //获取当前文档的原有内容 document.open(); //打开文档 document.write(""); document.close(); document.Title="看不到源代码"; document.body.innerHTML=Source; //重新写入旧内
阅读全文
posted @ 2011-03-31 16:50
qqhepp
阅读(208)
推荐(0)
编辑