<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta charset="utf-8" /> <title>首页</title> <link rel="stylesheet" href="css/page.css" /> <script type="text/javascript" src="js/jquery.min.js" ></script> <script type="text/javascript" src="js/index.js" ></script> </head> <% String id_=request.getParameter("id"); String a=request.getParameter("a"); if(a==null){ a="1"; } %> <body> <div class="left"> <div class="bigTitle">学习管理系统</div> <div class="lines"> <div onclick="pageClick(this)" id="news" class="active"><img src="img/icon-1.png" />个人消息</div> <div onclick="pageClick(this)" id="lesson"><img src="img/icon-2.png" />课程管理</div> <div onclick="pageClick(this)" id="wifi"><img src="img/icon-3.png" />网课管理</div> </div> </div> <div class="top"> <div class="leftTiyle" id="flTitle">个人消息</div> <div class="thisUser" style="line-height: 0px;"> <table border="1" cellspacing=0> <tr> <td rowspan=2 style="width:72px;"> <img src="user_long.png" style="cursor:pointer;height:95px;align:center" id="person"> </td> <td style="width:170px">姓名:<%out.print("陈一龙"); %></td> </tr> <tr> <td>学号:<%out.print("20214010"); %> </td> </tr> </table> </div> </div> <div class="content"> <iframe src="all_Student.jsp?id=<%=id_ %>" height="713px" id="a1" name="ifd" onl oad="this.height=ifd.document.body.scrollHeight" width="100%" scrolling="no" frameborder="0" ></iframe> <iframe src="all_Student.jsp?a=2&id<%=id_ %>" height="713px" id="a2" name="ifd" onl oad="this.height=ifd.document.body.scrollHeight" width="100%" scrolling="no"frameborder="0"> </iframe> </div> <div style="text-align:center;"> </div> </body> <script type="text/javascript"> a1.style.display="block"; a2.style.display="none"; var news=document.getElementById('news'); news.onclick=function(){ pageClick(this); a1.style.display="block"; a2.style.display="none"; } var lesson=document.getElementById('lesson'); lesson.onclick=function(){ pageClick(this); a1.style.display="none"; a2.style.display="block"; } var wifi=document.getElementById('wifi'); wifi.onclick=function(){ alert('该功能尚未开发完成'); } var person=document.getElementById('person'); person.onclick=function(){ window.open('Student_browse.jsp?id_=<%=id_ %>', '个人修改', 'height=560, width=950, top=100, left=300, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no') } </script> </html>
标签:总结,function,style,no,每日,height,2023.4,document,display From: https://www.cnblogs.com/wllovelmbforever/p/17301065.html