将鼠标悬停在锚点选项卡上的弹出窗口

问题描述:


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