Floating Button target window & disappearing message

Hello!

1/ how to make the link to be opened in a new window tab?

2/ is it possible to have a message tip that disappears after few seconds next to the floating button?
2 months 6 days ago #1 by Afiq

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (4837) Offline
Hi,

1/ how to make the link to be opened in a new window tab?

Please edit this file : ../modules/mod_floating_buttons/tmpl/default.php
at lines 26 you will see this
code:"icon":"child_item_icon; ?>"
change that to
code:"icon":"child_item_icon; ?>", "target":"_blank"

2/ is it possible to have a message tip that disappears after few seconds next to the floating button?

If you know javascript you can do that via jQuery. Basically you just need to add something like this in proper condition :
jQuery(document).ready(function() {
jQuery('.jfab_tooltip').delay(5000).fadeOut('slow');
});
2 months 5 days ago - 2 months 5 days ago #2 by TemplatePlazza
Last edit: 2 months 5 days ago by TemplatePlazza.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum