解决方案 »
- 把java程序做成.exe的最简单的免费的方案?
- Hibernate 的一对多关系,根据一查不到多的...求解!!!
- 《java编程思想》中的一句译文
- 一个主流的JS+FLASH应用??
- 应用启动后访问报如下错误
- 请教一个struts路径配置问题,
- 错误:java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
- Spring+struts+hibernat+mysql5.0为什么出现这么奇怪的问题!求高手。
- 管道流的问题,请高手进来指导!编译时提示有两个错,可我不知道怎么改!请老师指点~
- 请教各位大哥哥:java你能谦套c程序吗?急!!!
- Strut2.1类型转换的问题,不知道算不算BUG
- Ajax爱好者请进~~~
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>sdfsfsdf</title> </head>
<table height="600" width="500" >
<tr>
<td>
<a href="#" id="one">学校概况</a>
<a href="#" id="two">2</a>
<a href="#" id="three">3</a>
</td>
</tr>
</table>
<body>
</body>
</html>
<script>
if (mtDropDown.isSupported()) {
var ms = new mtDropDownSet(mtDropDown.direction.down, 0, 0, mtDropDown.reference.bottomLeft);
var one = ms.addMenu(document.getElementById("one"));
<s:set name="m1list" value="#oapubdata.getPubdata('titleone')" />
<c:forEach items="${m1list}" var="info" varStatus="loop">
one.addItem("${info.name}", "${info.classname}");
</c:forEach>
one.addItem("学校简介", "http://********");
one.addItem("校园导游", "http://********");
one.addItem("现任领导", "http://********");
one.addItem("历任领导", "http://********");
one.addItem("领导题词", "http://********");
one.addItem("学校沿革", "http://********c");
one.addItem("统计资料", "http:********");
}</script>
你看行不行
document.getElementById("div1").style.display="block";
}
</script>
<div class="child" id="sub1" ></div>
<div class="child" id="sub2" ></div>
<div class="child" id="sub3" ></div>
...
</div>在父导航中,<a onmouseover"showSub(i)" />function showSub(i){
var oo=document.getElementById('line2').childNodes;
for(i=0;i<oo.length;i++){
if(oo[i].className=='child')oo[i].className='hideIt';
if(oo[i].className=='showIt')oo[i].className='hideIt';
}
document.getElementById('sub'+i).className='showIt';
}如果你看不懂我写的,我会郁闷的