将鼠标悬停在锚点选项卡上的弹出窗口
问题描述:
将鼠标移到锚点选项卡上时,如何在其上设置弹出窗口.请提供一些示例代码.
问候,
shefeek
how can i set a popup on anchor tab when i move my mouse over it.please provide some sample codes.
regards,
shefeek
答
好了shefeek,这很容易.您只需要调用anchor标签的onMouseOver事件弹出对话框即可.
请尝试使用以下简单代码,希望对您有所帮助.
Well shefeek, it''s very easy.You just need to call the popup dialog onMouseOver event of the anchor tag.
Please try following simple code.May it will help you.
<html>
<head>
<script type="text/javascript">
function doPopUp()
{
alert("hello World!");
}
</script>
</head>
<body>
<a href="#" onmouseover="doPopUp()">Click Here!</a>s
</body>
</html>
问候,
Arvind
Regards,
Arvind
让我看看:
Let me see:
- JavaScript:检查!
- 鼠标:检查!
- 悬停:检查!
- 弹出窗口:检查!
- 示例:检查!
- jQuery:OMG几乎忘了在...检查中添加它!
- 似乎有些不对劲... Ahhhhh google :检查!
- Javascript: Check!
- Mouse: Check!
- Hover: Check!
- Popup: Check!
- Sample: Check!
- jQuery: OMG almost forgot to add that in ... Check!
- Something seems to be amiss ... Ahhhhh google: Check!
那是什么咒语?
Google是您的朋友! [
What''s that spell?
Google is your friend![^]
Cheers!
MRB