plugins - Auto trigger of popup

I am usingfor pop up. This plugin basically provides you two options to trigger the popup, one is through the link an

I am using / for pop up. This plugin basically provides you two options to trigger the popup, one is through the link and the other is through the button.

I want to trigger the popup automatically when a page is loaded, no need to click button or link. Assitance required

Regards

I am using https://wordpress/plugins/popup-anything-on-click/ for pop up. This plugin basically provides you two options to trigger the popup, one is through the link and the other is through the button.

I want to trigger the popup automatically when a page is loaded, no need to click button or link. Assitance required

Regards

Share Improve this question asked Nov 29, 2019 at 5:51 Ali RazaAli Raza 111 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

Well the plugins itself says it open on click. I sometime use this trick, and that also help you too.

You have to trigger click on page laod. Suppose your button/link selector is class named "clickmetoopen" I write it like

$(document).ready(function(){
    $(".clickmetoopen").trigger("click");  
});

Or if your selector is id something like "clickmetoopen" the above code should be work for you like

$(document).ready(function(){
    $("#clickmetoopen").trigger("click");  
});

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744957402a4603276.html

相关推荐

  • plugins - Auto trigger of popup

    I am usingfor pop up. This plugin basically provides you two options to trigger the popup, one is through the link an

    2天前
    50

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信