This topic contains 3 replies, has 2 voices, and was last updated by  Dimitar 11 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • just one tooltip ? #28141

    stephan
    Participant

    Hi,

    I wanted to use jqxTooltip to show info/notification/error boxes next to my input controls, similar to what “jqxValidator” does, but with my own (different) logic for when and where to show the infos. Therefore in my code I tried using jqxTooltip for my notification concept but found the following problem:

    It seems like you can only show 1 tooltip at a time … is this correct ?

    This fiddle tries to create and show 2 tooltips, but only the second one shows up:
    http://jsfiddle.net/_stephan_/TW79Z/1/

    Another strange effect that you can see in the fiddle: clicking on “open tooltip 1” will in fact close tooltip 2.

    Regards,
    Stephan

    just one tooltip ? #28144

    Dimitar
    Participant

    Hello Stephan,

    The tooltips on a page are grouped by their name property. Only one tooltip of a group can be shown at a time. If you wish to show both tooltips, they must be in separate groups, i.e.:

    $("#tooltipParent1").jqxTooltip({
    name: "tooltip1",
    autoHide: false,
    opacity: 1,
    trigger: 'none',
    theme: 'error-tooltip'
    });
    $("#tooltipParent2").jqxTooltip({
    name: "tooltip2",
    autoHide: false,
    opacity: 1,
    trigger: 'none',
    theme: 'error-tooltip'
    });

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    just one tooltip ? #28147

    stephan
    Participant

    Hi Dimitar,

    Thanks for the info, I’ll give it a try.

    Since I didnt find this in the documentation it would be great to have it in there 😉

    Regards,
    Stephan

    just one tooltip ? #28149

    Dimitar
    Participant

    Hi Stephan,

    We will update jqxTooltip’s documentation with some missing properties as soon as possible.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.