页面加载时弹出框? [英] POP-UP box on page loading ?
问题描述
嘿伙计......
每当我打开我的网站时,我都希望有一个POP-UP窗口。 POP-UP窗口应该在右上角加载一些带有关闭选项的内容。
点击关闭按钮或在POP-UP窗口外的任何地方,它应该将我引导到背面页面。
i知道这可能是一个很容易搜索...我做了我的长搜索,但我无法得到正确的代码或链接看看。
提前感谢您的帮助......祝您有个美好的一天:)
我有什么尝试过:
我试了很久......但是我无法得到正确的代码或链接看看。
根据您共享的要求,它看起来比新的弹出窗口更适合您的需求的模态弹出窗口。
从你开始可以查看一个简单的如下 -
http://www.w3schools.com/howto/ howto_css_modals.asp [ ^ ]
那么你可以使用JQuery和CSS获得一些美妙的弹出式创意
https://webdesignledger.com/modal-window-pop-ups-in-网页设计/ [ ^ ]
您也可以使用ajax模式弹出窗口 -
http://www.aspsnippets.com/Articles/Building-Modal-Popup-using-ASPNet-AJAX-ModalPopupExtender-Control.aspx [< a href =http://www.aspsnippets.com/Articles/Building-Modal-Popup-using-ASPNet-AJAX-ModalPopupExtender-Control.aspxtarget =_ blanktitle =New Window> ^ ]
尝试实施您喜欢的那个,如有任何困难,请告诉我们。
:)
这符合您的要求
http://www.w3schools.com/bootstrap /bootstrap_modal.asp [ ^ ]
Hey guys ...
I wanted to have one POP-UP window whenever i open my website. The POP-UP window should load some contents with close option at top right.
clicking the close button or anywhere outside the POP-UP window, it should route me to the backside page.
i know this might be an easy one to search for ...I did my long search however i am not able to get the correct code or link to have a look.
Thanks in advance for your help... have a great day :)
What I have tried:
I tried this for a long time .... but i am unable to get the correct code or link to have a look.
From the requirement you have shared, it looks a modal popup better suits your requirement than a new popup window.
To begin with you can check a simple one as follows-
http://www.w3schools.com/howto/howto_css_modals.asp[^]
Then you may go for some beutiful popups ideas using JQuery and CSS
https://webdesignledger.com/modal-window-pop-ups-in-web-design/[^]
You can use ajax modal popup too-
http://www.aspsnippets.com/Articles/Building-Modal-Popup-using-ASPNet-AJAX-ModalPopupExtender-Control.aspx[^]
Try to implement the one you like and in case of any difficulties, please let us know.
:)
this will fit your requirement
http://www.w3schools.com/bootstrap/bootstrap_modal.asp[^]
这篇关于页面加载时弹出框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!