javascript问题?
<HTML><HEAD><METAhttp-equiv="Content-Type"content="text/html;charset=gb2312"><TITLE>树...
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<TITLE>树形菜单</TITLE>
<STYLE type="text/css">
DIV {
FONT-SIZE: 13px; COLOR:#0033FF LINE-HEIGHT: 22px;
}
A{FONT-SIZE: 13px; COLOR: #000000; TEXT-DECORATION: none}
A:hover {FONT-SIZE: 13px; COLOR:#CC33FF}
</STYLE>
<SCRIPT type="text/javascript">
function showpic(d1){
if(document.getElementById(d1).style.display=='none'){
document.getElementById(d1).style.display='block';
}else{
document.getElementById(d1).style.display='none';
}
}
</SCRIPT>
</HEAD>
<BODY>
<DIV HEIGHT="30"><FONT color="#FF0000" size="+1" ><B><IMG src="1aa291f5dcf51332bc3109ca.jpg" width="40" height="40" align="absmiddle">树形菜单:</B></FONT></DIV>
<A href="javascript:onClick=showpic('1') "><IMG src="89fc85121e5d3a46f819b88e.jpg" width="80" height="80" border="0" align="absmiddle" >文学艺术</A>
<DIV id="1" style="display:none"><IMG src="45b3b0d79f731dcaa144df97.jpg" width="80" height="80" align="absmiddle">先锋写作<BR>
<IMG src="3beff3121c26fad5c2fd7891.jpg" width="80" height="80" align="absmiddle">小说散文<BR>
<IMG src="20061108100753648189.jpg" width="80" height="80" align="absmiddle">诗风词韵</DIV>
<DIV><A href="javascript: onClick=showpic('2') "><IMG src="999974fcadcb49eafc037fcc.jpg" width="80" height="80" border="0" align="absmiddle">贴图专区</A></DIV>
<DIV id="2" style="display:none"><IMG src="35458ad32b303c173af3cfc9.jpg" width="80" height="80" align="absmiddle">真我风采<BR>
<IMG src="f2999dddc9c00c355882dd24.jpg" width="80" height="80"align="absmiddle">视频贴图<BR>
<IMG src="xin_0702032015382182737613.jpg" width="80" height="80" align="absmiddle">行行摄摄<BR>
<IMG src="20061027123752722286.jpg" width="80" height="80" align="absmiddle">Flash贴图</DIV>
</BODY>
</HTML>
请帮我看看这代码?谢谢大师,function旁边括号里的参数是什么意思?帮忙看看,d1也不是id啊? 展开
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<TITLE>树形菜单</TITLE>
<STYLE type="text/css">
DIV {
FONT-SIZE: 13px; COLOR:#0033FF LINE-HEIGHT: 22px;
}
A{FONT-SIZE: 13px; COLOR: #000000; TEXT-DECORATION: none}
A:hover {FONT-SIZE: 13px; COLOR:#CC33FF}
</STYLE>
<SCRIPT type="text/javascript">
function showpic(d1){
if(document.getElementById(d1).style.display=='none'){
document.getElementById(d1).style.display='block';
}else{
document.getElementById(d1).style.display='none';
}
}
</SCRIPT>
</HEAD>
<BODY>
<DIV HEIGHT="30"><FONT color="#FF0000" size="+1" ><B><IMG src="1aa291f5dcf51332bc3109ca.jpg" width="40" height="40" align="absmiddle">树形菜单:</B></FONT></DIV>
<A href="javascript:onClick=showpic('1') "><IMG src="89fc85121e5d3a46f819b88e.jpg" width="80" height="80" border="0" align="absmiddle" >文学艺术</A>
<DIV id="1" style="display:none"><IMG src="45b3b0d79f731dcaa144df97.jpg" width="80" height="80" align="absmiddle">先锋写作<BR>
<IMG src="3beff3121c26fad5c2fd7891.jpg" width="80" height="80" align="absmiddle">小说散文<BR>
<IMG src="20061108100753648189.jpg" width="80" height="80" align="absmiddle">诗风词韵</DIV>
<DIV><A href="javascript: onClick=showpic('2') "><IMG src="999974fcadcb49eafc037fcc.jpg" width="80" height="80" border="0" align="absmiddle">贴图专区</A></DIV>
<DIV id="2" style="display:none"><IMG src="35458ad32b303c173af3cfc9.jpg" width="80" height="80" align="absmiddle">真我风采<BR>
<IMG src="f2999dddc9c00c355882dd24.jpg" width="80" height="80"align="absmiddle">视频贴图<BR>
<IMG src="xin_0702032015382182737613.jpg" width="80" height="80" align="absmiddle">行行摄摄<BR>
<IMG src="20061027123752722286.jpg" width="80" height="80" align="absmiddle">Flash贴图</DIV>
</BODY>
</HTML>
请帮我看看这代码?谢谢大师,function旁边括号里的参数是什么意思?帮忙看看,d1也不是id啊? 展开
TableDI
2024-07-18 广告
2024-07-18 广告
VLOOKUP是Excel中用于垂直查找的函数,其基本用法包括四个参数:1. 查找值:即在数据表首列中需要搜索的值。2. 数据表:包含查找值的单元格区域或数组。3. 返回值所在列数:指定返回查询区域中第几列的值。4. 查找方式:选择精确匹配...
点击进入详情页
本回答由TableDI提供
展开全部
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |