JQuery鼠标经过弹出气泡状提示框的导航代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Animated Menu Hover 1</title>

<script type="text/javascript" src="http://www.webdesignerwall.com/demo/jquery/jquery.js"></script>

<script type="text/javascript">
$(document).ready(function(){
 $(".menu li").hover(function() {
  $(this).find("em").animate({opacity: "show", top: "-75"}, "slow");
 }, function() {
  $(this).find("em").animate({opacity: "hide", top: "-85"}, "fast");
 });
});
</script>

<style type="text/css">

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

Grow your business fast with

Suku