将鼠标悬停在锚点选项卡上的弹出窗口 [英] popup in mouse hover on anchor tab

查看:82
本文介绍了将鼠标悬停在锚点选项卡上的弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


将鼠标移到锚点选项卡上时,如何在其上设置弹出窗口.请提供一些示例代码.
问候,
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:


  1. JavaScript:检查!
  2. 鼠标:检查!
  3. 悬停:检查!
  4. 弹出窗口:检查!
  5. 示例:检查!
  6. jQuery:OMG几乎忘了在...检查中添加它!
  7. 似乎有些不对劲... Ahhhhh google :检查!

  1. Javascript: Check!
  2. Mouse: Check!
  3. Hover: Check!
  4. Popup: Check!
  5. Sample: Check!
  6. jQuery: OMG almost forgot to add that in ... Check!
  7. Something seems to be amiss ... Ahhhhh google: Check!



那是什么咒语?

Google是您的朋友! [



What''s that spell?

Google is your friend![^]

Cheers!

MRB


这篇关于将鼠标悬停在锚点选项卡上的弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆