本站不再更新,欢迎光临 java开发技术网
随笔-230  评论-230  文章-8  trackbacks-0


<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
  <head>
    <html:base />
   
    <title>按钮测试</title>
   
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">   
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
 <link href="css/main.css" type="text/css" rel="stylesheet">
  </head>
 
  <body>
  <div>
  <table width="87%" border="0" cellpadding="2" cellspacing="1" class="3g" id="Hed">
    <tr>
      <td width="11%" class="3gleft">用户名:</td>
      <td width="33%" class="3gright">&nbsp;</td>
      <td width="8%" class="3gleft">密  码:</td>
      <td width="48%"  class="3gright">&nbsp;</td>
    </tr>
    <tr>
      <td width="11%" class="3gleft">&nbsp;</td>
      <td width="33%" class="3gright">&nbsp;</td>
      <td width="8%" class="3gleft">&nbsp;</td>
      <td width="48%" class="3gright">&nbsp;</td>
    </tr>
  </table>
   <table width="100%" border="0" cellpadding="0" cellspacing="1">
      <tr id="kkrow">
      <td>&nbsp;</td>
   <a href="http://www.hao123.com" target="mains" ><td id="InPage" onclick="setBackimage(this)"><a href="http://www.hao123.com" target="mains">送修</td></a></a>
   <a href="k1.jsp" target="mains"><td id="OutPage" onclick="setBackimage(this)"><a href="k1.jsp" target="mains">测试1</td></a></a>
   <a href="k2.jsp" target="mains"><td id="OutPage" onclick="setBackimage(this)"><a href="k2.jsp" target="mains">测试2</td></a></a>
   </tr>
   </table>
 
  </div>
   <iframe src=""  frmaeborder="0" name="mains" width="100%" style="height:expression(body.offsetHeight-Hed.offsetHeight-25)"></iframe>
  <br>
  </body>
</html:html>
<script language="javascript">
   var tds=false;
   function setBackimage(obj){
       if(tds!=false){
       tds.id="OutPage";
    obj.id="InPage";
    }
    obj.id="InPage"
    tds=obj;
   
   }
</script>

posted on 2006-03-02 17:00 有猫相伴的日子 阅读(290) 评论(0)  编辑  收藏 所属分类: javascript

只有注册用户登录后才能发表评论。


网站导航:
 
本站不再更新,欢迎光临 java开发技术网