开发者

how to display pop up text on mouse over in php

开发者 https://www.devze.com 2023-03-09 11:41 出处:网络
I have an image on clicking it deletes a user ,i want to display the text pop up message delete on mouse over .the code is below.

I have an image on clicking it deletes a user ,i want to display the text pop up message delete on mouse over .the code is below.

<a href=<?=$_SERVER['PHP_SELF']."?remove_user=1&userid=".$i ?>"> <img src="images/delete.png" width="15" height="15" alt="remove user details"    s开发者_StackOverflow中文版tyle="border:0px;line-height:0px;margin:0px;"/>
</a>

how to do this.


Most browsers will display text you enter in a "title" attribute as a tooltip: ie

<a href="http://someurl.info" title="This will appear on a hover">Link text</a>


Put the message into the title attribute of the a element.

0

精彩评论

暂无评论...
验证码 换一张
取 消