1
我想添加图像的文字按钮的标题.. 我已经尝试添加图像通过使用下面的PHP代码title =“”。如何在工具提示的标题中添加图像?
<?php echo"<img class='file-attach' src='".get_template_directory_uri()."/images/file-attachment.png'/>"; ?>
<button type="button" class="btn btn-default tooltip-buttons" data-toggle="tooltip" data-placement="top" title="Here you'll see">?</button>
使用本地'提供title'属性,不,你不能这样做。如果您需要支持图片的图片,则必须实施自定义图片。 –
http://stackoverflow.com/questions/15274123/how-do-you-add-an-image-to-a-jquery-tooltip –
请参阅此链接可能会解决您的问题http://stackoverflow.com/questions/15274123 /怎么办 - 你 - 附加的图像对A-jQuery的工具提示 –