弹出脚本问题? [英] Popup issue with script?

查看:96
本文介绍了弹出脚本问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题不使用


这个脚本一旦点击它就会让弹出窗口位于主网页的后面,如果选择另一个图像来放大图像将不会被看到,因为它仍然是坐在主网页后面。


我在问什么


是否可以在此代码中添加一些脚本以使弹出窗口始终当脚本被激活时坐在上面?

Issue NOT use

This script makes the popup sit behind the main webpage once clicked off it and if another image is chosen to enlarge the image will not be seen as it is still sits behind the main web page.

What I am asking

Is it possible to add some script to this code to make the popup always sit on top when the script is activated?

展开 | 选择 | Wrap | 行号

推荐答案

这是一些代码除了它没有,我抓住了我想要的东西有弹出的图像大小的代码

This is some code I grabbed which does what I want except it does not have the code that sizes the image to to popup

展开 | 选择 | Wrap | 行号


如果您保留对pop-的引用打开时窗口:
If you keep a reference to the pop-up window when opening:
展开 | 选择 | Wrap | 行号


感谢您的回复。我必须说我对手动编码不太熟悉。


如果我要采用以下代码。

我会在什么地方放置代码以使窗口自动调整大小?

Thanks for the response. I must say that I am not too familiar with hand coding.

If I was to take the following code.
what and where would I place code to make the window automatically resize to the image?]
展开 | < span class =codeLinkonclick =selectAll(this);>选择 | Wrap | 行号


这篇关于弹出脚本问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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