日期:2014-05-16 浏览次数:20436 次
<script type="text/javascript" src="../common/js/jquery.js"></script>
<script type="text/javascript" src="../common/js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="../common/js/common.js"></script>
<body class="nav1">
<div id="nav">
<ul class="over">
<li id="nav1"><a href="../function/index.php"><img src="../common/images/nav01_off.gif" width="92" height="75" alt="功能 Function" /></a></li>
<li id="nav2"><a href="../feature/index.php"><img src="../common/images/nav02_off.gif" width="90" height="75" alt="特征 Feature" /></a></li>
<li id="nav3"><a href="../casestudy/index.php"><img src="../common/images/nav03_off.gif" width="150" height="75" alt="导入实例 Track record" /></a></li>
<li id="nav4"><a href="../price/index.php"><img src="../common/images/nav04_off.gif" width="90" height="75" alt="价格 Price" /></a></li>
<li id="nav5"><a href="../introduct/index.php"><img src="../common/images/nav05_off.gif" width="134" height="75" alt="关于导入 Introduction" /></a></li>
<li id="nav6"><a href="../qanda/index.php"><img src="../common/images/nav06_off.gif" width="90" height="75" alt="Q&A" /></a></li>
</ul>
</div>
</body>
$(function(){
if( $('body:eq(0)').attr('class').match(/(nav\d)/) ){
$('li#'+RegExp.$1).find('img').attr('src', function(){return this.src.replace('_off','_on')});
}
}