Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • leonyl
    Participant

    Hello I bought your plugin, because I worked with the MojoPlug slide panel before, but get permanent Ajax waring alerts, although everything was set correctly via targets. The reason for this was the Woo Side Cart plugin, which is necessary for my customers by shopping. Therefore I need your help now, because your script has no conflicts with my other plugins, great. But I do not need the button you created to open and close the flyout variant, i need my own in my template. Now the question: Which id or direct link can I use to open the widget by a href? ? At mojo plugin I had previously given id = “mojosp-toggle-left” the instruction to open the slide as a link and now I hope that you can also act with this plugin.

    Please help.. Bestregards Leon

    PS: Activation of your plugin in my wp admin was not possible.

    Hi Leonyl,

    Thanks for buying Ultimate floating widgets. Please do the following.

    If you want to hide the button completely, please set below CSS in the ‘Widget tempalte settings” –> additional css. Where 1 being the ID of the widget box.

    #ufw_1 .ufw_btn_wrap {
        display: none;
    }

    To show the widget box, you can use below jQuery call.

    <script>
    jQuery('.my_custom_button').click(function(){
         jQuery('#ufw_1 .ufw_btn').trigger('click');
    });
    </script>

    Hope it helps.

    Regarding the activation, can you please share the error you are getting ?

    Thanks,
    Aakash

    leonyl
    Participant

    Hello Aakash,

    first of al thank you for the great plugin and your support.

    The only small issue is the query link on my button. I tried now 1 hour different solutions and no one works and open the left slider.

    So it would bei great to give me a helping hand more.

    The css display-none i did before, thank you it works, but the click trigger event is not working yet.

    Here is my custom div button code– on gdpr rules i can’t paste here the domain of my customer, but can do this by email if it’s important.

    This is in the pagebuilder html box and shows it also in the front end source code, but did not open slide.
    <script>
    jQuery(‘.btn_reservieren’).click(function(){
    jQuery(‘#ufw_1’).trigger(‘click’);
    });
    </script>

    <div id=”ufw_1″>
    </div>

    Hooe you can find the error.

    Thanks Leon

    leonyl
    Participant

    wow something is missing .. this is right:

    <script>
    jQuery(‘button’).click(function(){
    jQuery(‘#ufw_1 .ufw_btn’).trigger(‘click’);
    });
    </script>

    <div id=”ufw_1″>
    </div>

    leonyl
    Participant

    no, your editor is deleting a part of my scripting… can i mail it to you ?

    Hi Leon,

    If you share me the website URL and the button which should open the widget box, I can share the exact script.

    If the buttons are dynamically generated, then you may need to use “on” like this.

    <script>
    jQuery(document).ready(function() {
      jQuery(document).on("click", ".btn_reservieren", function(){
           jQuery("#ufw_1").trigger("click");
       });
    });
    </script>

    Please note that jQuery("#ufw_1").trigger("click"); is the main code to launch the widget box and it will work. The problem right now on your side is that the element is not able to call it.

    Please try above script. If it didn’t work, share me the website URL. I’ll help you.

    Thanks,
    Aakash

    leonyl
    Participant

    Hello Aakash,

    i tried the last days different ways of funcion trigger click on event, but it was not possible for me to find the right x-browser solution. It would be nice to help me by my config of my template css button to slide your panel.

    Best regards
    Leon

    Hi Leon,

    Can you please share your website URL and the page where the button is present ?

    Thanks,
    Aakash

    leonyl
    Participant

    Hello Aakash,

    i received right now a snippet of a friend and I think it works:

    What do you say?

    <div align=”center” id=”ufw_1″>
    </div>

    <script>
    jQuery(‘.btn_reservieren’).click(function(){
    jQuery(‘#ufw_1 .ufw_btn’).trigger(‘click’);
    });
    </script>

    Best Leon

    Good that it works.

    But isn’t this the same script as before ?

    leonyl
    Participant

    Hey, yea the script ist the same. it was something missing:

    in a href -> javascript:void(0);

    Thank you for your time.

    best regards Leon

    Cheers !

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.

Subscribe to our Newsletter

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter

By using this website, you agree to our Terms