开发者

how to display pop up text on mouse over in php

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜