我可以使网页看起来像弹出窗口吗?

编程入门 行业动态 更新时间:2024-10-24 01:48:57
本文介绍了我可以使网页看起来像弹出窗口吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经创建了网页,并且正在通过Jquery函数调用它.从技术上讲,我将{info}用作图像按钮,并用.aspx替换为它,以便将其重定向到该页面.

.replace("$ {info}","//layouts/webpage.aspx");

该网页正在新的浏览器窗口中打开.有什么方法可以使其弹出,以便可以将其放置在页面中的任何位置.那是为了摆脱工具栏的地址栏等.它应该看起来像一个弹出窗口.

有人可以帮助我吗?提前致谢.我想我提供了足够的信息.如果没有,请问我.

2#(扩展) 我已经在使用弹出窗口了.我想在具有某些服务器控件的窗口上显示另一个弹出窗口.坦白说,我是jquery的新手.我当时想我可以创建一个.aspx页面,然后再将其修改为弹出窗口.或将其制成精美的盒子.

请帮助我

解决方案

您要查找的内容称为模式弹出窗口.我喜欢将 ColorBox 用于此类功能.那就是说,还有很多替代的模态jQuery插件也可以使用. /p>

I have created webpage and I am calling it from Jquery function. Technically I used {info} as image button and I am replacing with it with .aspx so that it is redirecting to that page.

.replace("${info}","/_layouts/webpage.aspx");

The web page is opening in new browser window. Is there any way that I could make it as pop up so I can place it anywhere in the page. That is to get rid off the toolbar address bar etc. It should look like a pop up.

Can anyone help me regarding this. Thanks in advance. I guess I provided the enough info. If not, please ask me.. May be next time I make it clearer.

2#(extend) I am already using pop up..and I want to display another pop up on that which is having some server controls. Frankly I am new to jquery. I was thinking like I can create a.aspx page and after that I can modify it to as look like as pop up. or making it as fancy box.

Please help me

解决方案

What you are looking for is called a modal popup. I like to use ColorBox for this type of functionality. That said there are a large variety of alternative modal jQuery plugins that will also work.

更多推荐

我可以使网页看起来像弹出窗口吗?

本文发布于:2023-11-17 03:01:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1608568.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:弹出窗口   网页

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!