将网页嵌入到dialog中的方法
2014-09-08 16:07
260 查看
方法就是用iframe
<a onclick= "showPage()" href ="请求的页面路径" target = "adPageFrame" id="showAdList"><strong> 弹出页面 </strong></a> <div id="advertisingPage"> <iframe name="adPageFrame" scrolling=auto width="100%" height="400px" frameborder=0 ></iframe> </div>
$("#advertisingPage").dialog({ modal:true, autoOpen:false, width: 1000, height:516, resizable:false, position:"center", title:"关联广告", buttons: { "关闭":function(){$(this).dialog("close");} } }); function showPage(){ $("#advertisingPage").dialog("open"); }
相关文章推荐
- 网页中嵌入 Flash 的方法 满足W3C
- 网页中嵌入Flash的方法讨论
- 网页嵌入自定义字体方法
- 在Dialog中嵌入View的方法
- 在网页中嵌入Flash的一些方法
- 网页中嵌入外部页面的四种方法
- 【转】在网页嵌入QQ+MSN+淘宝旺旺+Gtalk快速对话框官方代码的方法
- 网页嵌入自定义字体方法
- 网页中嵌入Flash的方法讨论
- 网页中嵌入MediaPlayer时,各种属性与方法设置
- 在Dialog中嵌入View的方法
- 理顺 JavaScript (3) - 把 JavaScript 嵌入网页的方法
- 网页中嵌入 Flash 的方法
- 使用swfObject在网页中嵌入flash的方法
- 使用swfObject在网页中嵌入flash的方法
- 在你的网页中嵌入外部网页的方法
- 多款在网页中嵌入天气预报的方法
- PHP网页 Ewebeditor 编辑器嵌入方法
- 网页中嵌入MediaPlayer各种属性与方法设置大全
- 网页中嵌入外部页面的四种方法