Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • erickroco Friend
    #896227

    Hi there! Is it possible to add Dynamic Content to the "Text" when the user clics on the hotspot?

    We need to show a table instead static text, and the information in the table must be loaded dynamically.

    Remember that with joomla we have jQuery and Bootstrap preloaded.

    Thanks!

    Ninja Lead Moderator
    #896390

    Hi,

    JA Image Hotspot module does not support the dynamic text as your expectation but this module based on popovers and you make a custom work if you want.

    Regards

    erickroco Friend
    #896825

    Thanks Ninja Lead. Reviewing the document, it has two interesting options where I can achieve some kind of customization by:

    Name Type Default Description

    content string | function ”
    Default content value if data-content attribute isn’t present.
    If a function is given, it will be called with its this reference set to the element that the popover is attached to.

    html boolean false
    Insert HTML into the popover. If false, jQuery’s text method will be used to insert content into the DOM. Use text if you’re worried about XSS attacks.

    But. Do I need to modify directly the code isn’t it?

    What do you think!?

    Ninja Lead Moderator
    #897002

    Hi,

    You can find them from this modules/mod_jaimagehotspot/tmpl/default.php file with title, data-content and data-html

    Regards

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

This topic contains 3 replies, has 2 voices, and was last updated by  Ninja Lead 8 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum