这个js效果哪个高手帮我看看怎么实现啊?

见网址http://www.jgclean.com/en/default.aspx里鼠标放入下图区域显示的js效果怎么实现啊?能给个完整的差不多的例子吗?谢谢了!
你说的我试过但没有成功,我搞不来。

<!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><title>NINGBO JINGGUO SYNTHESIS MACHINE CO.,LTD</title><meta content="<% = sPagesKey %>" name="keywords">
<meta content="<% = sPagesDes %>" name="description">
<meta content="<% = sPagesUrl %>" name="url">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="http://www.jgclean.com/en/Css/nmain.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="http://www.jgclean.com/en/MenuMatic/examples/vertical/css/MenuMatic.css" type="text/css" media="all" />
<script type="text/javascript" src="http://www.jgclean.com/en/dialog/lhgcore.js"></script>
<script type="text/javascript" src="http://www.jgclean.com/en/dialog/lhgdialog/lhgdialog.js"></script>
<script type="text/javascript" src="http://www.google.com/jsapi" ></script>
<script type="text/javascript" > google.load("mootools", "1.2.1"); </script>
<script type="text/javascript" src="http://www.jgclean.com/en/MenuMatic/MenuMatic_0.68.3.js" ></script>
<script type="text/javascript">
MenuMatic
window.addEvent('domready', function() {
var myMenu = new MenuMatic({ orientation:'vertical' });
});
//dialog
function dlgopen(mailto)
{
//将参数手动转为string类型.修正传递是未定义错误.
var MailTo = mailto.toString();//document.getElementById("showItems").getAttribute("title");
J.dialog.get({ id: 'mailto', title: 'Contact us with email', width: 490, height:520, margin:0, page: 'http://www.jgclean.com/en/../../Cmail/SendContactMail.aspx?MailTo='+MailTo});//,cover:true });
}

function dlgclose()
{
J.dialog.close('mailto');
}

function dlgopen2(categorycode)
{
//将参数手动转为string类型.修正传递是未定义错误.
var categoryCode = categorycode.toString();//document.getElementById("showItems").getAttribute("title");
J.dialog.get({ id: 'showItems', title: 'Items List', width: 490, height:470, margin:0, page: 'http://www.jgclean.com/en/../../Cmail/ShowItemsImage.aspx?CategoryCode='+categoryCode});//,cover:true });
}

function dlgclose2()
{
J.dialog.close('showItems');
}

function dlgopen3(category)
{
var Category = category.toString();
J.dialog.get({ id: 'Floatbox', title: 'Send Mail To Us', width: 490, height:520, margin:0, page: 'http://www.jgclean.com/en/../../Cmail/SendMail.aspx?Category='+Category});//,cover:true });
}

function dlgclose3()
{
J.dialog.close('FloatBox');
}

</script>

</head>
<div id="navcontainer" style="width:83px;margin:0 80px;padding:0px; height:100px">
<ul id="nav" class="navul" style="margin:0px;">
<!-- 此处是ProductClass -->
<li class="navli" style="background:url('images/main_0122.jpg') no-repeat bottom; "><a href="javascript:void(0);" class="bai">Scouring</a>
<ul>
<!-- 此处是ProductCategory -->
<li><a href="#" id="showItems" onclick=dlgopen2('Scouring00_01') ><img id="_ctl0_productslinkdefault_Repeater1__ctl0_Repeater2__ctl0_Image1" src="http://www.jgclean.com/en/../uploads/Products/ThumbImage/a4b1a021-df48-4f5e-825e-11d213248284.jpg" style="border-width:0px;height:50px;width:50px;" /><br />Stainless steel scourer</a></li>
<!-- 此处是ProductCategory -->
<li><a href="#" id="showItems" onclick=dlgopen2('Scouring00_02') ><img id="_ctl0_productslinkdefault_Repeater1__ctl0_Repeater2__ctl1_Image1" src="http://www.jgclean.com/en/../uploads/Products/ThumbImage/2355ff45-b49f-4eff-96e8-a5e67630f8ba.jpg" style="border-width:0px;height:50px;width:50px;" /><br />Galvanized scourer</a></li>
<!-- 此处是ProductCategory -->
<li><a href="#" id="showItems" onclick=dlgopen2('Scouring00_03') ><img id="_ctl0_productslinkdefault_Repeater1__ctl0_Repeater2__ctl2_Image1" src="http://www.jgclean.com/en/../uploads/Products/ThumbImage/53bfce1b-f7c3-4d7e-ab4e-3e5597b1427d.jpg" style="border-width:0px;height:50px;width:50px;" /><br />metallic silver sponge</a></li>
<!-- 此处是ProductCategory -->
<li><a href="#" id="showItems" onclick=dlgopen2('Scouring00_04') ><img id="_ctl0_productslinkdefault_Repeater1__ctl0_Repeater2__ctl3_Image1" src="http://www.jgclean.com/en/../uploads/Products/ThumbImage/8911c958-b186-4f7f-902f-ba11a3b4bcdc.jpg" style="border-width:0px;height:50px;width:50px;" /><br />Plastic scourer</a></li>
<!-- 此处是ProductCategory -->
<li><a href="#" id="showItems" onclick=dlgopen2('Scouring00_05') ><img id="_ctl0_productslinkdefault_Repeater1__ctl0_Repeater2__ctl4_Image1" src="http://www.jgclean.com/en/../uploads/Products/ThumbImage/845f664f-c560-4bb1-b648-8a0a8f64bc0c.jpg" style="border-width:0px;height:50px;width:50px;" /><br />Steel wool</a></li>
</ul>
</li>
<!-- 此处是ProductClass -->
<li class="navli" style="background:url('images/main_0122.jpg') no-repeat bottom; "><a href="javascript:void(0);" class="bai">Wiping</a>
<ul>
<!-- 此处是ProductCategory -->
<li><a href="#" id="showItems" onclick=dlgopen2('Wiping00_01') ><img id="_ctl0_productslinkdefault_Repeater1__ctl1_Repeater2__ctl0_Image1" src="http://www.jgclean.com/en/../uploads/Products/ThumbImage/0c31b75f-4956-4efc-a737-aeda6737636a.jpg" style="border-width:0px;height:50px;width:50px;" /><br />Microfiber</a></li>
<!-- 此处是ProductCategory -->
<li><a href="#" id="showItems" onclick=dlgopen2('Wiping00_02') ><img id="_ctl0_productslinkdefault_Repeater1__ctl1_Repeater2__ctl1_Image1" src="http://www.jgclean.com/en/../uploads/Products/ThumbImage/f0c5502a-cbc5-4089-985d-bdebdb87c76b.jpg" style="border-width:0px;height:50px;width:50px;" /><br />Non-woven wipe</a></li>
<!-- 此处是ProductCategory -->
<li><a href="#" id="showItems" onclick=dlgopen2('Wiping00_03') ><img id="_ctl0_productslinkdefault_Repeater1__ctl1_Repeater2__ctl2_Image1" src="http://www.jgclean.com/en/../uploads/Products/ThumbImage/2585e4ae-be7f-4199-b1f5-0a0d0de17b0b.jpg" style="border-width:0px;height:50px;width:50px;" /><br />Sponge pad</a></li>

</ul>
</li>
<!-- 此处是ProductClass -->
<li class="navli" style="background:url('images/main_0122.jpg') no-repeat bottom; "><a href="javascript:void(0);" class="bai">Dusting</a>
<ul>
<!-- 此处是ProductCategory -->
<li><a href="#" id="showItems" onclick=dlgopen2('Dusting00_01') ><img id="_ctl0_productslinkdefault_Repeater1__ctl2_Repeater2__ctl0_Image1" src="http://www.jgclean.com/en/../uploads/Products/ThumbImage/a796f3c7-f490-4e18-839b-a5721e4d3eff.jpg" style="border-width:0px;height:50px;width:50px;" /><br />Duster</a></li>
<!-- 此处是ProductCategory -->
<li><a href="#" id="showItems" onclick=dlgopen2('Dusting00_02') ><img id="_ctl0_productslinkdefault_Repeater1__ctl2_Repeater2__ctl1_Image1" src="http://www.jgclean.com/en/../uploads/Products/ThumbImage/88e3b830-0f46-4696-97b2-1ff3a80dd322.jpg" style="border-width:0px;height:50px;width:50px;" /><br />Cloth</a></li>

</ul>
</li>
<!-- 此处是ProductClass -->
<li class="navli" style="background:url('images/main_0122.jpg') no-repeat bottom; "><a href="javascript:void(0);" class="bai">Floor & Window range</a>
<ul>
<!-- 此处是ProductCategory -->
<li><a href="#" id="showItems" onclick=dlgopen2('Floor00_01') ><img id="_ctl0_productslinkdefault_Repeater1__ctl3_Repeater2__ctl0_Image1" src="http://www.jgclean.com/en/../uploads/Products/ThumbImage/895001f2-6d40-426e-9cfa-a40dd69a2e5b.jpg" style="border-width:0px;height:50px;width:50px;" /><br />mop</a></li>
<!-- 此处是ProductCategory -->
<li><a href="#" id="showItems" onclick=dlgopen2('Floor00_02') ><img id="_ctl0_productslinkdefault_Repeater1__ctl3_Repeater2__ctl1_Image1" src="http://www.jgclean.com/en/../uploads/Products/ThumbImage/bb91487c-9ba2-4840-aded-729ab07b1685.jpg" style="border-width:0px;height:50px;width:50px;" /><br />window Cleaner</a></li>

</ul>
</li>
<!-- 此处是ProductClass -->
<li class="navli" style="background:url('images/main_0122.jpg') no-repeat bottom; "><a href="javascript:void(0);" class="bai">Detergent</a>
<ul>
<!-- 此处是ProductCategory -->
<li><a href="#" id="showItems" onclick=dlgopen2('Detergent00_01') ><img id="_ctl0_productslinkdefault_Repeater1__ctl4_Repeater2__ctl0_Image1" src="http://www.jgclean.com/en/../uploads/Products/ThumbImage/5231bb48-dd46-4c00-8836-d3f82abad6ad.jpg" style="border-width:0px;height:50px;width:50px;" /><br />Detergent</a></li>

</ul>
</li>
<!-- 此处是ProductClass -->
<li class="navli" style="background:url('images/main_0122.jpg') no-repeat bottom; "><a href="javascript:void(0);" class="bai">Others</a>
<ul>
<!-- 此处是ProductCategory -->
<li><a href="#" id="showItems" onclick=dlgopen2('Others00_02') ><img id="_ctl0_productslinkdefault_Repeater1__ctl5_Repeater2__ctl0_Image1" src="http://www.jgclean.com/en/../uploads/Products/ThumbImage/d50d6493-a025-4a11-a0c5-c87c46d45838.jpg" style="border-width:0px;height:50px;width:50px;" /><br />Others</a></li>
</ul>
</li>
</ul>
</div>
温馨提示:答案为网友推荐,仅供参考
第1个回答  2009-09-21
你可以直接把它的代码复制下来啊

帮你弄下来,不如教你怎么弄下来

你下载一个火狐浏览器,下载firebug插件

然后,就可以利用firebug插件,鼠标放网页的哪个地方,他就把那个地方的代码显示给你看了,十分方便

如果在安装上面有什么问题,可以发消息给我,我教你
相似回答