This topic is locked

Tooltip with line break <br>

1/22/2019 1:31:21 PM
PHPRunner General questions
T
taumic author

I am currently converting a PHPR project from version 9.8 to 10.0. I noticed a little thing. In the tooltips you could force a line break with
. This is probably no longer possible?! Instead the "
" (without "") is displayed in the tooltip text. Is there an alternative or is this feature still in progress?
Best regards
Michael
PS:

I just tried it in a newly created project - same result.

W
WilliamBDevClub member 1/22/2019

Make sure you are making the html set to true as in example below.



element.popover({

title: '<div class="popoverTitle">Event title</div>',

content: '<div class="popoverInfo">' +

'<p><strong>Info:</strong>Here is some info</p>' +

'<div class="popoverDesc"><strong>Description:</strong> This is the description</div>' +

'</div>',

delay: {

show: "800",

hide: "50"

},

trigger: 'hover',

placement: 'top',

html: true,

container: 'body'

});
T
taumic author 1/26/2019

Thanks a lot, but WHERE in PHPR do I have to set that?

HJB 1/26/2019



Thanks a lot, but WHERE in PHPR do I have to set that?


Hi Compatriot!
http://webdesignerwall.com/tutorials/word-wrap-force-text-to-wrap
... for inspiration purposes only. It's my little understanding that since BOOTSTRAP along

with CSS options under PHPR v10 is a "game changer" in regard to "antic coding methods" to

meet the future.
https://help.formstack.com/hc/en-us/articles/360019519911-CSS-Editing-the-Width-of-One-Field
... for inspiration purposes to find the relevant ID to get CSS custom code applied to the

correct element ..., hence focus is here on the EDITOR to find the ID and it's way to go.
In other words, fully agree, it's NOT really an answer on your raised question, but just an

idea to maybe forget about "years long trampled paths of coding elephants" in the aim to get

old things into more CSSed like future shape than ever before ... <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=86922&image=1&table=forumreplies' class='bbc_emoticon' alt='B)' />
P.S. Simply speaking, know the ID and apply CSS custom code and you'r done.