how to change tooltip placement to left

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mansour
User
Posts: 282

how to change tooltip placement to left

Post by mansour »

Hi,
How to change the default placement of tooltips to "left" instead of right?
which file/ extension i have to edit?
for the RTL language it should be in left!
Thanks for your support!
Mansour


danielc
User
Posts: 1601

Post by danielc »

Try to put this jQuery code to change the data-placement attribute in Client Scripts->Global->Pages with header/footer->Startup Script:
$(".ewTooltipLink").attr("data-placement", "left");


mansour
User
Posts: 282

Post by mansour »

Hi,
It seems your suggested method does NOT work with AdminLTE ?!
I want to show tooltip just over the link, but the following code does NOT work:
$(".ewTooltipLink").attr("data-placement", "top");

Any idea?
Thank you


arbei
User
Posts: 9284

Post by arbei »

Just tested the code and it is working fine.

Put it in the startup script of the page and try again.
$(".ewTooltipLink").attr("data-placement", "left");

Use F12->Console to see if there are any JavaScript error returned.


Post Reply