⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edxsky_common.js

📁 usb的协议的详细说明
💻 JS
📖 第 1 页 / 共 2 页
字号:
  document.write ("<tr><td height=2 class=bg_frame></td></tr>");
  document.write ("</table>"+righter);
  document.write ("</center></body></html>");
  if (login_message>0 && ie_true==2)
  {
    document.write ("<bgsound src='"+web_dir_skin+"mail/message.wav'>");
    msg_pop();
  }
}

if (ie_true==2) { var msg_popup=window.createPopup(); }
var msg_width=167;
var msg_height=70;
var msg_exc=5;
var msg_max=1500;
var msg_poptop=0;
var screen_width=screen.width;
var screen_height=screen.height;
var screen_left=screen_width-msg_width-msg_exc;

function msg_pop()
{
  var temp1="";
  temp1+="<table border=1 bordercolor=#000000 cellpadding=0 cellspacing=0 style=\"border-collapse: collapse\" width="+msg_width+" height="+msg_height+">";
  temp1+="<tr><td width='100%' height='100%'>";
  temp1+="  <table border=0 cellpadding=0 cellspacing=0 width='100%'>";
  temp1+="  <tr><td height=10><img src='images/msg/win_top.gif' border=0></td></tr>";
  temp1+="  <tr><td height=58 background='images/msg/win_bg.gif'>";
  temp1+="    <table border=0 width='94%'>";
  //temp1+="    <tr><td align=right><img src='images/msg/win_close.gif' border=0></td></tr>";
  temp1+="    <tr><td align=center height=25><img src='"+web_dir_skin+"mail/new.gif' align=absmiddle border=0>&nbsp;<font size=2 color=#ffffff>您现在有<font color=#ff0000>"+login_message+"</font>条新短信</font></td></tr>";
  //temp1+="    <tr><td height=5></td></tr>";
  temp1+="    </table>";
  temp1+="  </td></tr>";
  temp1+="  </table>";
  temp1+="</td></tr>";
  temp1+="</table>";
  msg_popup.document.body.innerHTML=temp1;
  msg_pop_show();
}

function msg_pop_show()
{
  if(msg_poptop>msg_max)
  { clearTimeout(msg_time); msg_popup.hide(); return; }
  if (msg_poptop<=(msg_height+msg_exc))
  { msg_popup.show(screen_left,screen_height-msg_poptop,msg_width,msg_poptop-msg_exc); }
  else if (msg_poptop>=(msg_max-msg_height))
  { msg_popup.show(screen_left,screen_height+msg_max-msg_max,msg_width,msg_max-msg_poptop); }
  msg_poptop+=msg_exc;
  var msg_time=setTimeout("msg_pop_show();",50);
}

function web_branch()
{
  //document.write (ukong);
  web_right();
  web_left(2);
}

function web_center(ct)
{
  document.write("</td>");
  document.write("<td width=1 background='"+web_dir_skin+"bg_c.gif'></td>");
  document.write("<td wdith=*>");
}

function web_right() { document.write("</td></tr></table>"+righter); }

function format_topic_type(b_jt,b_username,b_topic,b_c_num,b_url,b_tim,b_counter,b_ispic,b_tit,b_count,b_tim_type)
{
  var n_img="";
  var tim_type="";
  var n_c_num=b_c_num;
  if (b_ispic=="True" || b_ispic=="true")
  {
    n_img="&nbsp;<img src='"+web_dir_skin+"small/img.gif' border=0>";
    n_c_num-=2;
  }
  if (b_tim_type>0)
  {
    if (b_tim_type==2) tim_type+="</td><td align=right>";
    tim_type+="&nbsp;<font class=tims>"+b_tim.substring(2,10)+"</font>";
  }
  var temp1="<tr><td>"+b_jt+"<a href='javascript:;' onclick=\"javascript:open_view('"+b_url+"',1);\" alt='"+b_tit+":"+code_html(b_topic,1,0)+"<br>发 布 人:"+b_username+"<br>"+b_count+":"+b_counter+" 人次<br>整理时间:"+b_tim+"'>"+code_html(b_topic,1,n_c_num)+"</a>"+n_img+tim_type+"</td></tr>";
  return temp1;
}

function format_pic_type(b_pic,b_topic,b_c_num,b_url)
{
  var temp1="<table border=0>";
  temp1+="<tr><td align=center>"+pic_fk(b_pic,1,b_url)+"</td></tr>";
  temp1+="<tr><td align=center><a href='"+b_url+"' title='"+code_html(b_topic,1,0)+"'>"+code_html(b_topic,1,b_c_num)+"</a></td></tr>";
  temp1+="</table>";
  return temp1;
}

function pic_fk(pvar,pt,purl)
{
  var burl,picurl,temp1="";
  burl="images/fk/";
  picurl=pic_url(pvar,pt);
  if (purl!="" && purl!=null) { picurl="<a href='"+purl+"' target=_blank>"+picurl+"</a>"; }
  /*
  var npic_w,npic_h;
  switch (pt)
  {
   case 2:
     npic_w=pic_w*1.5;npic_h=pic_h*1.5;
     break;
   case 4:
     npic_w=pic_w*0.7;npic_h=pic_h*0.7;
     break;
   case 5:
     npic_w=pic_w*0.5;npic_h=pic_h*0.5;
     break;
   default :
     npic_w=pic_w;npic_h=pic_h;
     break;
  }
  npic_w+=8;npic_h+=8;
  */
  // width='"+npic_w+"' height='"+npic_h+"'
  temp1+="<table border=0 cellpadding=0 cellspacing=0>";
  temp1+="<tr><td colspan=3 width='100%' align=center>";
  temp1+="  <table border=0 cellpadding=0 cellspacing=0 width='100%'>";
  temp1+="  <tr height=4>";
  temp1+="  <td width=7><img src='"+burl+"fk_top_left.gif' width=7 height=4 border=0></td>";
  temp1+="  <td background='"+burl+"fk_top_bg.gif' width='*'><img src='"+burl+"fk_top_bg.gif' border=0 height=4></td>";
  temp1+="  <td width=7 align=right><img src='"+burl+"fk_top_right.gif' border=0 width=7 height=4></td>";
  temp1+="  </tr>";
  temp1+="  </table>";
  temp1+="</td></tr>";
  temp1+="<tr><td colspan=3 width='100%' align=center>";
  temp1+="  <table border=0 cellpadding=0 cellspacing=0 width='100%'>";
  temp1+="  <tr>";
  temp1+="  <td width=4 height='100%'>";
  temp1+="    <table border=0 cellpadding=0 cellspacing=0 width='100%' height='100%'>";
  temp1+="    <tr><td height=4><img src='"+burl+"fk_left_top.gif' border=0 width=4></td></tr>";
  temp1+="    <tr><td background='"+burl+"fk_left_bg.gif'></td></tr>";
  temp1+="    <tr><td height=4 valign=bottom><img src='"+burl+"fk_left_end.gif' border=0 width=4></td></tr>";
  temp1+="    </table>";
  temp1+="  </td>";
  temp1+="  <td align=center width=*>"+picurl+"</td>";
  temp1+="  <td width=4 height='100%'>";
  temp1+="    <table border=0 cellpadding=0 cellspacing=0 width='100%' height='100%'>";
  temp1+="    <tr><td height=4><img src='"+burl+"fk_right_top.gif' border=0 width=4></td></tr>";
  temp1+="    <tr><td background='"+burl+"fk_right_bg.gif'></td></tr>";
  temp1+="    <tr><td height=4 valign=bottom><img src='"+burl+"fk_right_end.gif' border=0 width=4></td></tr>";
  temp1+="    </table>";
  temp1+="  </td>";
  temp1+="  </tr>";
  temp1+="  </table>";
  temp1+="</td></tr>";
  temp1+="<tr><td colspan=3 width='100%' align=center>";
  temp1+="  <table border=0 cellpadding=0 cellspacing=0 width='100%'>";
  temp1+="  <tr height=4>";
  temp1+="  <td width=7><img src='"+burl+"fk_end_left.gif' width=7 height=4 border=0></td>";
  temp1+="  <td background='"+burl+"fk_end_bg.gif' width='*'><img src='"+burl+"fk_end_bg.gif' border=0 height=4></td>";
  temp1+="  <td width=7 align=right><img src='"+burl+"fk_end_right.gif' border=0 width=7 height=4></td>";
  temp1+="  </tr>";
  temp1+="  </table>";
  temp1+="</td></tr>";
  temp1+="</table>";
  return temp1;
}

function nav_ver_true()
{
  if (navigator.appName!="Microsoft Internet Explorer") { return 0; }
  var nav_ver=navigator.appVersion;
  var sys_dim=nav_ver.split(";");
  if (sys_dim.length<3) { return 1; }
  var tmp1=sys_dim[1];
  tmp1=tmp1.replace(/\ /gi,"")
  tmp1=tmp1.replace(/\MSIE/gi,"")
  tmp1=tmp1.substring(0,3);
  var tn=tmp1.substring(0,1);
  if (tn<5) { return 1; }
  if (tn==5)
  { if (tmp1!="5.5") { return 1; } }
  return 2;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -