使用UL LI的CSS菜单
问题描述:
我正在使用UL LI菜单,并使用display css属性显示隐藏菜单,我的问题是它在Firefox和Chrome中运行良好,但在IE6中未显示
Hi,
I''m using UL LI menu and show hide the menu using display css property,my problem is its work well in firefox and Chrome but not shown in IE6
答
你自己写的吗?我们无法告诉您答案,因为答案是,跨站点脚本编写很复杂,您需要找出未显示给我们的代码中有问题的那一部分,然后将IE特定代码放入其中它也适用于IE. Web上有无数的菜单控件,无需编写自己的菜单控件.
Did you write it yourself ? We can''t tell you the answer, because the answer is, cross site scripting is complex and you need to find out which bit of the code you''ve not shown us has the issue, and then put IE specific code in so it works for IE, too. There''s tons of menu controls on the web, there''s no need to write your own.
<!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></title>
<script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
(文档).ready(function(){
(document).ready(function () {