javascript - how to display pop up text on mouse over in php - Stack Overflow

I have an image on clicking it deletes a user ,i want to display the text pop up message delete on mous

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"    style="border:0px;line-height:0px;margin:0px;"/>
</a>

how to do this.

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"    style="border:0px;line-height:0px;margin:0px;"/>
</a>

how to do this.

Share Improve this question edited Jun 1, 2011 at 4:49 alex 491k204 gold badges889 silver badges991 bronze badges asked Jun 1, 2011 at 4:48 n92n92 7,60228 gold badges97 silver badges131 bronze badges 1
  • 2 You should POST for requests that modify state on the server. – alex Commented Jun 1, 2011 at 4:49
Add a ment  | 

2 Answers 2

Reset to default 2

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744939993a4602262.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信