Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • greeteo_matt
    Participant

    Hi,

    I’m looking to add a static button to my shop page that can reveal the flyout widget. I have disabled the floating button successfully. Is it possible to still keep the floating button to close the flyout?

    Thanks in advance.

    Matt

    Hi Matt,

    Thanks for using Ultimate floating widgets. I understand the concern. There are 2 queries.

    #1 – Have a static button to open the popup/flyout
    #2 – Have a separate button to close.

    Some users have also reported similar requirement.

    Can you please share the webpage where the plugin is active ?

    I’ll have a look and study the requirement. I’ll implement these requirement and update the plugin by the end of this month or earlier.

    Thanks,
    Aakash

    greeteo_matt
    Participant

    Thanks for the quick reply, Aakash.

    http://www.greeteo.cards/new-shop-page is where i will use the plugin.

    Hi Matt,

    UFW supports javascript calls using which you can open/close the popup.

    To open the popup/flyout use a button/link like below,

    <a href="javascript:void(0)" onclick="UFW.open('1')">Open the popup/flyout</a>

    To close,

    <a href="javascript:void(0)" onclick="UFW.close('1')">Close the popup/flyout</a>

    To toggle display,

    <a href="javascript:void(0)" onclick="UFW.toggle('1')">Toggle display</a>

    Here “1” is the ID of the popup/flyout.
    Change that accordingly as you need.

    I guess this answer is a solution to #1.
    You could also use the same for #2 temporarily.

    Thanks,
    Aakash

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

Subscribe for updates

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