<script language='javascript'>
function over(obj)
{
obj.style.color = '#ff6600';
obj.style.backgroundColor = '#f7f7f7';
}
function out(obj)
{
obj.style.color = '';
obj.style.backgroundColor = '';
}
function shift(id)
{
var obj = document.getElementById(id);
if (obj.style.display == 'none')
{
obj.style.display = 'inline';
}
else
{
obj.style.display = 'none';
}
}
</script>
<html>
<body>
<div class='category cursor' οnmοuseοver='over(this)' οnmοuseοut='out(this)' οnclick="shift('product')">商品管理</div>
<ul id='product' style='display:none'>
<li>
<a href='productAdd.aspx'>添加商品</a></li>
<li>
<a href='productAlter.aspx'>明细管理</a></li>
<li>
<a href='productMarket.aspx'>销售情况</a></li>
<li>
<a href='productStock.aspx'>库存情况</a></li>
<li>
<a href='productVouch.aspx'>推荐商品</a></li>
<li>
<a href='productHot.aspx'>热卖商品</a></li>
</ul>
</div>
</body>
</html>
function over(obj)
{
obj.style.color = '#ff6600';
obj.style.backgroundColor = '#f7f7f7';
}
function out(obj)
{
obj.style.color = '';
obj.style.backgroundColor = '';
}
function shift(id)
{
var obj = document.getElementById(id);
if (obj.style.display == 'none')
{
obj.style.display = 'inline';
}
else
{
obj.style.display = 'none';
}
}
</script>
<html>
<body>
<div class='category cursor' οnmοuseοver='over(this)' οnmοuseοut='out(this)' οnclick="shift('product')">商品管理</div>
<ul id='product' style='display:none'>
<li>
<a href='productAdd.aspx'>添加商品</a></li>
<li>
<a href='productAlter.aspx'>明细管理</a></li>
<li>
<a href='productMarket.aspx'>销售情况</a></li>
<li>
<a href='productStock.aspx'>库存情况</a></li>
<li>
<a href='productVouch.aspx'>推荐商品</a></li>
<li>
<a href='productHot.aspx'>热卖商品</a></li>
</ul>
</div>
</body>
</html>