摘要: input test User Name: PassWord: 阅读全文
posted @ 2014-01-16 14:13 蛋蛋的小家 阅读(649) 评论(0) 推荐(0) 编辑
摘要: 假设有2个页面,index.html和inner.html。其中index.html中有一个iframe,这个iframe的src指向inner.html。我们现在要做的就是:1.在index.html中调用inner.html上的一个js方法2.在inner.html中调用index.html上的一个js方法实现代码如下: index.html This is index page. inner.html This is inner page. 阅读全文
posted @ 2014-01-16 13:52 蛋蛋的小家 阅读(484) 评论(0) 推荐(0) 编辑
摘要: iframe 元素会创建包含另外一个文档的内联框架(即行内框架)提示:您可以把需要的文本放置在 之间,这样就可以应对无法理解 iframe 的浏览器。 阅读全文
posted @ 2014-01-16 11:08 蛋蛋的小家 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 1.支持自定义按钮 var dialog = art.dialog({ title: '警告', content: '点击管理按钮将让删除按钮可用', width: '20em', button: [{ name: '管理', callback: function () { this.content('我更改了删除按钮').button({ name: '删除', disabled: false }); return false; }, focus: true }] }); dialog.butto 阅读全文
posted @ 2014-01-16 10:22 蛋蛋的小家 阅读(664) 评论(0) 推荐(0) 编辑
摘要: 1.让 IFRAME 隐藏滚动条,通常的做法就是在嵌入 IFRAME 的页面的 CSS 中指定以下规则: html, body {overflow: hidden}2.如果只是想隐藏横向滚动条,则使用以下代码: html, body {overflow-x: hidden}3.以上代码在 IE、Firefox、Opera、Chrome 下均能正常工作。但是唯有在 IE7 下隐藏横向滚动条时,虽然有显示纵向滚动条,但鼠标滚轮无法使用。 似乎 IE7 把 overflow-y 也当成了 hidden。 这种情况其实我们只需要显式指定一下 overflow-y 即可,如 html, b... 阅读全文
posted @ 2014-01-16 09:33 蛋蛋的小家 阅读(357) 评论(0) 推荐(0) 编辑