在父窗口前加载一个较小的弹出窗口 [英] loading a smaller popup in front of parent window

查看:75
本文介绍了在父窗口前加载一个较小的弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问候


我需要在当前打开的完整窗口中弹出一个html文档,我没有乐趣。


当我点击它的按钮时,我无法使用JavaScript加载子html;我指的是loaddetails语法。


当我点击一个包含此代码的按钮时,我收到一个错误,但是如果我删除那行代码我的HTML javaScript程序有效但不是弹出iframe。


< a href =" javascript :loadDetails(''open'',''9998_hello.ht m'',''details'' '' loadDetails '')"> bye< / a>


你能帮忙吗?


谢谢。

解决方案

需要查看你的loadDetails函数


但是这样可以工作

展开 | 选择 | Wrap | 行号


需要查看你的loadDetails函数


但是这样可以工作

展开 | 选择 | Wrap | 行号



这是我的链接javaScript对象,我非常感谢您的帮助

http:// www.readverse.com/iframe.zip



< a href =" 9998_hello.htm"> hello< / a> &安培; NBSP; & nbsp;

< a href =" javascript :window.open(''9998_hello.htm'',''loa dDetai ls'');" ;> bye< / a>


感谢您的帮助,但当我尝试您的建议时,它无效,我不确定我是否犯了另一个错误或代码已损坏。

如果您愿意,我发送了一个链接,您可以从我的网站下载对象。

谢谢


Greetings

I need to have an html document to pop up on the current opened full windows and I not having fun in doing it.

I am having trouble to use JavaScript to load the child html when I click on its button; I am referring to loaddetails syntax.

When I click on a button that has this code, I get an error, but if I remove that line of code my HTML javaScript program works but not pop up iframe.

<a href="javascript:loadDetails(''open'',''9998_hello.ht m'',''details'',''loadDetails'')"> bye</a>

Can you help, please?

Thank you.

解决方案

need to see your loadDetails function

but this will work

Expand|Select|Wrap|Line Numbers


need to see your loadDetails function

but this will work

Expand|Select|Wrap|Line Numbers


This is a link to my javaScript objects and I really appreciate your help

http://www.readverse.com/iframe.zip

<a href="9998_hello.htm">hello</a> &nbsp; &nbsp;
<a href="javascript:window.open(''9998_hello.htm'',''loa dDetai ls'');"> bye</a>


Thank you for your help, but when I tried your suggestion it did not work and I am not sure whether I made another mistake or the code is corrupted.
I sent a link that you can download the objects from my website, if you wish.
Thank you


这篇关于在父窗口前加载一个较小的弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆