开发者

Autoload a popup using jQuery

开发者 https://www.devze.com 2023-01-28 06:06 出处:网络
I need a solution to automatically load popups using jQuery 开发者_运维知识库or simply javascript.

I need a solution to automatically load popups using jQuery 开发者_运维知识库or simply javascript.

I tried to use it on 'body onload'

Please Help me. Thanks in advance. Sreejith


Your question is not clear , but you can use jquery document ready to do all load type events its equvalent to body onload

$(document).ready(function() {
   call your popup show here//
});

let me know if you need anything else

jquery ui dialog is pretty good for

http://jqueryui.com/demos/dialog/

you can write your own html and give a better z-index and do a .show on the document ready

one more plugin for buble popups

http://plugins.jquery.com/project/jqBubblePopup


If you are using jQuery, you can use .ready()

$(document).ready(function(){
    // Whatever action to run on page load
});
0

精彩评论

暂无评论...
验证码 换一张
取 消