Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tooltip Button
#1
I have in template define IWButton {%IWButton1%}.

My JS: $("[data-toggle=tooltip]").tooltip();

My Atribute: data-toggle="tooltip" data-placement="top" data-html="true" title="text <br/>text" 

Where insert Tooltip atribute?
Reply
#2
Hi Matija, try:
Code:
{%IWButton1 data-toggle="tooltip" data-placement="top" data-html="true" title="text<br/>text" %}
Reply
#3
(11-14-2019, 11:24 AM)Jose Nilton Pace Wrote: Hi Matija, try:
Code:
{%IWButton1 data-toggle="tooltip" data-placement="top" data-html="true" title="text<br/>text" %}

Only (partially) works:

<button class="btn btn-success" id="IWBUTTON1" data-toggle="tooltip" data-placement="top" data-html="true" title="Generate report" type="button" name="IWBUTTON1">Reporting</button>

also not works data-html="true"!

Caption (Reporting) of button is multilanguage thats i use {%IWBUTTON1%} ?
Reply
#4
Sorry, but I don't know exactly what you are trying to accomplish.

The generated HTML looks correct to me. What you call "tooltip" attribute I'm guessing is actually the "title" attribute and it is also rendered. You should see a "Generate report" tooltip over the button
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)