华为手机怎样看多个网页 :[技术前沿]求助:怎样在一个网页中显示多个”剩余时间代码”

太平洋在线 124 0

请大家不要笑话我!问这么弱智的问题华为手机怎样看多个网页 ,我不是专业的的程序员,我上初中,只是课余时间研究一下.

  我在设计一个拍卖网站时要在多个商品下面设置剩余时间,我不要那种FLASH形式的华为手机怎样看多个网页 ,也不要那种需要网页全部打开才显示剩余时间的代码,因为做的是英文站,图片托管在国外,网页图片全部打开有困难,我设记了一个网页一打开就显示剩余时间的代码,可是只能在一个商品下显示,第二个代码不显示.请各位GG.JJ帮帮我.

  这是一个草稿网页华为手机怎样看多个网页 ,只能设置一个剩余时间代码,第二个不能现示.<body>之间就是剩余时间代码,只插了一个,怎样放多个剩余时间代码.

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ";

  <html xmlns=";

  <head>

  <!-- saved from url=(0013)about:internet -->

  <meta ;

  <title>无标题文档</title>

  <style type="text/css">

  <!--

  .STYLE1 {

  font-family: Arial, Helvetica, sans-serif;

  color: #FF0000;

  -->

  </style>

  </head>

  <body>

  <span class="a02276c831eebd69 STYLE1" id="span_dt_dt"></span>

  <span class="76c831eebd691e82 STYLE1">

  <SCRIPT language=javascript>

  function show_student163_time(){

  window.setTimeout("show_student163_time()", 1000);

  BirthDay=new Date("3-8-2008 15:46");

  today=new Date();

  timeold=(BirthDay.getTime()-today.getTime());

  sectimeold=timeold/1000

  secondsold=Math.floor(sectimeold);

  msPerDay=24*60*60*1000

  e_daysold=timeold/msPerDay

  daysold=Math.floor(e_daysold);

  e_hrsold=(e_daysold-daysold)*24;

  hrsold=Math.floor(e_hrsold);

  e_minsold=(e_hrsold-hrsold)*60;

  minsold=Math.floor((e_hrsold-hrsold)*60);

  seconds=Math.floor((e_minsold-minsold)*60);

  if(daysold<0)

  daysold=0;

  hrsold=0;

  minsold=0;

  seconds=0;

  span_dt_dt.innerHTML=daysold+"d "+hrsold+"h "+minsold+"m "+seconds+"s" ;

  show_student163_time();

  </SCRIPT>

  </span>

  </body>

  </html>

标签: 技术前沿 剩余 多个 代码 求助

抱歉,评论功能暂时关闭!