notifications and question about tooltip / Popov

4 replies·opened Oct 2, 2019
N
nicolas33770Oct 2, 2019

Hi,

I tried to customize the icon size for notification but it's not working, do you know why please ?
<div id="custom-notification-message" data-notify-position="bottom-left" data-notify-type="info" data-notify-msg="TEST<i class='i-large icon-info-sign'></i> TEST"></div>

I would like to show automatically a tooltip (with cross to close) on a specific elements in my webpage to help user to understand specific functionality. Is it possible to do that with data-toggle tooltip or Popovers ?

Thanks for your help

N
nicolas33770Oct 2, 2019

I tried some tests and "Popovers" will be a good way to help me if you have a good way to open it automatically and the possibility to add a cross for close or timer or both ideally ? :)

N
nicolas33770Oct 2, 2019

I find information on internet to show the popovers but I looking for a way to close the popover on click. Do you know if it's possible, I don't find any information on documentation about that.

<script>
    function popUpChat()
    {
        $("#popUpChat").popover("show");
    }

    function popUpChatHide()
    {
        $("#popUpChat").popover("hide");
    }    

    $('#popUpChat').popover({title: "help ? <a href='#' onclick='popUpChatHide()'>CLOSE</a>", 
                            content: "Click here to ... ", 
                            animation: true,
                            delay: {show: 500, hide: 100},
                            html: true, 
                            placement: "top",
                            trigger: "manual"
                            }); 
</script>
N
nicolas33770Oct 3, 2019

I found this but is not working ?!

S
SemiColonWebSTAFFOct 4, 2019

Hello,

Currently, the close buttons are not supported inside the Headers. You can consider using the following code:

<a href="#" role="button" class="btn btn-secondary" data-toggle="popover" title="" data-content="And here's some amazing content. It's very engaging. right?" data-original-title="A Title" data-trigger="focus">button</a>

This opens the Popover on clicking the Button and then closes whenever you click outside the Popover resulting in the Popover losing focus and closing.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard