至今好像没发现啊.
你可以去关于java-oraclei9方面的技术中心看看,但我记得是国外的.

解决方案 »

  1.   

    我见过一个网站就是window的界面,cool极了
    当时简直不敢相信,咔咔,不过大概是2年前了
    所以不记得了,:(
      

  2.   

    function addfav()
    {window.external.addFavorite('http://www.51windows.com','◇无忧视窗◇')}
    var Mouse_Obj="none";
    var pX
    var pY
    document.onmousemove=D_NewMouseMove;
    function m(c_Obj)
    { Mouse_Obj=c_Obj;
    pX=parseInt(document.all(Mouse_Obj).style.left)-event.x;
    pY=parseInt(document.all(Mouse_Obj).style.top)-event.y; }
    function D_NewMouseMove()
    {if(Mouse_Obj!="none")
    {document.all(Mouse_Obj).style.left=pX+event.x;
    document.all(Mouse_Obj).style.top=pY+event.y;
    event.returnValue=false;}}
    function D_NewMouseUp()
    {Mouse_Obj="none";}
      document.onmouseup=mu;
      function mu(){D_NewMouseUp();}
    function pop1(win){
    parent.w.location.href=win;}
    function loc(win){
    window.location.href=win;}
    function pop(win){
    window.open(win,'','toolbar,menubar,scrollbars,resizable,status,location,directories,copyhistory,height=480,width=600')}
    function setico()
    {
    /*Haiwa@20:45 2002-8-26*/
    divCount = document.all.ico.all.tags("DIV");
    for (i=0; i<divCount.length; i++) {
    obj = divCount(i);
    win_y=document.body.clientHeight-ico_top-ico_bottom;//图标的纵坐标范围
    n=Math.round(win_y/ico_y);//每列可排列的个数
    num=i+1;
    if (n!=0){
    l=Math.round(num/n+0.49);//图标的列数
    numy=i-n*l+n;//在每一列中图标的序数
    obj.style.left=l*ico_x-ico_x+ico_left;
    obj.style.top=numy*ico_y+ico_top;
    }
    }
    }
    function fsetico()
    {
    divCount = document.all.ico.all.tags("DIV");
    for (i=0; i<divCount.length; i++) {
    obj = divCount(i);
    win_x=document.body.clientWidth-ico_left;//图标的纵坐标范围
    n=Math.round(win_x/ico_x);//每列可排列的个数
    num=i+1;
    if (n!=0){
    l=Math.round(num/n+0.49);//图标的列数
    numy=i-n*l+n;//在每一列中图标的序数
    obj.style.top=(l-1)*ico_y+ico_top;
    obj.style.left=numy*ico_x+ico_left;
    }
    }
    }
    function show(c_Str)
    {
    document.all(c_Str).style.display='block';
    }
    function hide(c_Str)
    {
    if(document.all(c_Str).style.display=='none')
    {
    return;
    }
    document.all(c_Str).style.display='none';
    }
    function keypress()
    {
    if(event.keyCode==17){
    startclick();
    s_img.focus();}
    }
    function sh(c_Str)
    {
    if(document.all(c_Str).style.display=='none')
    {
    document.all(c_Str).style.display='block';
    }
    else
    {
    document.all(c_Str).style.display='none';
    }
    }
    function showmenuie5()
    {
    var rightedge=document.body.clientWidth-event.clientX
    var bottomedge=document.body.clientHeight-event.clientY
    if (rightedge<ie5menu.offsetWidth)
    ie5menu.style.left=document.body.scrollLeft+event.clientX-ie5menu.offsetWidth
    else
    ie5menu.style.left=document.body.scrollLeft+event.clientX
    if (bottomedge<ie5menu.offsetHeight)
    ie5menu.style.top=document.body.scrollTop+event.clientY-ie5menu.offsetHeight
    else
    ie5menu.style.top=document.body.scrollTop+event.clientY
    ie5menu.style.visibility="visible"
    //ie5menu.style.visibility=""
    ie5menu.filters.alpha.opacity=0
    GradientShow()
    return false
    }
    function hidemenuie5()
    {
    ie5menu.style.visibility="hidden"
    GradientClose()}
    function GradientShow() //实现淡入的函数
    {
    ie5menu.filters.alpha.opacity+=intInterval
    if (ie5menu.filters.alpha.opacity<100) setTimeout("GradientShow()",intDelay)
    }
    function GradientClose() //实现淡出的函数
    {ie5menu.filters.alpha.opacity-=intInterval
    if (ie5menu.filters.alpha.opacity>0) {
    setTimeout("GradientClose()",intDelay)}
    else {ie5menu.style.visibility="hidden"}}
    function link(act,txt,hs,ar)
    {document.write("<div class=\"menuout\" onMouseOver=this.className='menuover'; onMouseOut=this.className='menuout'; style=\"padding-left:14;padding-top:2;padding-bottom:1\" onclick="+act+">"+txt+"<span style=\"visibility: hidden\">"+ar+"</span><font face=\"Webdings\" style=\"display:"+hs+"\">4</font></div>")}
    function hr()
    {document.write("<hr>")}
      

  3.   

    var bsYear;
    var bsDate;
    var bsWeek;
    var arrLen=8; //数组长度
    var sValue=0; //当年的秒数
    var dayiy=0; //当年第几天
    var miy=0; //月份的下标
    var iyear=0; //年份标记
    var dayim=0; //当月第几天
    var spd=86400; //每天的秒数var year1999="30;29;29;30;29;29;30;29;30;30;30;29"; //354
    var year2000="30;30;29;29;30;29;29;30;29;30;30;29"; //354
    var year2001="30;30;29;30;29;30;29;29;30;29;30;29;30"; //384
    var year2002="30;30;29;30;29;30;29;29;30;29;30;29"; //354
    var year2003="30;30;29;30;30;29;30;29;29;30;29;30"; //355
    var year2004="29;30;29;30;30;29;30;29;30;29;30;29;30"; //384
    var year2005="29;30;29;30;29;30;30;29;30;29;30;29"; //354
    var year2006="30;29;30;29;30;30;29;29;30;30;29;29;30";var month1999="正月;二月;三月;四月;五月;六月;七月;八月;九月;十月;十一月;十二月"
    var month2001="正月;二月;三月;四月;闰四月;五月;六月;七月;八月;九月;十月;十一月;十二月"
    var month2004="正月;二月;闰二月;三月;四月;五月;六月;七月;八月;九月;十月;十一月;十二月"
    var month2006="正月;二月;三月;四月;五月;六月;七月;闰七月;八月;九月;十月;十一月;十二月"
    var Dn="初一;初二;初三;初四;初五;初六;初七;初八;初九;初十;十一;十二;十三;十四;十五;十六;十七;十八;十九;二十;廿一;廿二;廿三;廿四;廿五;廿六;廿七;廿八;廿九;三十";var Ys=new Array(arrLen);
    Ys[0]=919094400;Ys[1]=949680000;Ys[2]=980265600;
    Ys[3]=1013443200;Ys[4]=1044028800;Ys[5]=1074700800;
    Ys[6]=1107878400;Ys[7]=1138464000;var Yn=new Array(arrLen);   //农历年的名称
    Yn[0]="己卯年";Yn[1]="庚辰年";Yn[2]="辛巳年";
    Yn[3]="壬午年";Yn[4]="癸未年";Yn[5]="甲申年";
    Yn[6]="乙酉年";Yn[7]="丙戌年";
    var D=new Date();
    var yy=D.getYear();
    var mm=D.getMonth()+1;
    var dd=D.getDate();
    var ww=D.getDay();
    if (ww==0) ww="<font color=RED>星期日</font>";
    if (ww==1) ww="星期一";
    if (ww==2) ww="星期二";
    if (ww==3) ww="星期三";
    if (ww==4) ww="星期四";
    if (ww==5) ww="星期五";
    if (ww==6) ww="<font color=green>星期六</font>";
    ww=ww;
    var ss=parseInt(D.getTime() / 1000);
    if (yy<100) yy="19"+yy;for (i=0;i<arrLen;i++)
    if (ss>=Ys[i]){
    iyear=i;
    sValue=ss-Ys[i];    //当年的秒数
    }
    dayiy=parseInt(sValue/spd)+1;    //当年的天数var dpm=year1999;
    if (iyear==1) dpm=year2000;
    if (iyear==2) dpm=year2001;
    if (iyear==3) dpm=year2002;
    if (iyear==4) dpm=year2003;
    if (iyear==5) dpm=year2004;
    if (iyear==6) dpm=year2005;
    if (iyear==7) dpm=year2006;
    dpm=dpm.split(";");var Mn=month1999;
    if (iyear==2) Mn=month2001;
    if (iyear==5) Mn=month2004;
    if (iyear==7) Mn=month2006;
    Mn=Mn.split(";");var Dn="初一;初二;初三;初四;初五;初六;初七;初八;初九;初十;十一;十二;十三;十四;十五;十六;十七;十八;十九;二十;廿一;廿二;廿三;廿四;廿五;廿六;廿七;廿八;廿九;三十";
    Dn=Dn.split(";");dayim=dayiy;var total=new Array(13);
    total[0]=parseInt(dpm[0]);
    for (i=1;i<dpm.length-1;i++) total[i]=parseInt(dpm[i])+total[i-1];
    for (i=dpm.length-1;i>0;i--)
    if (dayim>total[i-1]){
    dayim=dayim-total[i-1];
    miy=i;
    }
    bsWeek=ww;
    bsDate=yy+"年"+mm+"月";
    bsDate2=dd;
    bsYear="农历"+Yn[iyear];
    bsYear2=Mn[miy]+Dn[dayim-1];
    if (ss>=Ys[7]||ss<Ys[0]) bsYear=Yn[7];
    function time(){
    document.write("<table border='0' style='font-size: 9pt; font-family:Tahoma;background:infobackground' cellspacing='0' width='90' bordercolor='#0979C4'  height='110' cellpadding='0'");
    document.write("<tr><td align='center' style='border: 1 solid #0979C4;padding-top:4px'><b><font style='font-family: Verdana;color:#0979C4'>"+bsDate+"</font><br><div style='font-family: Arial Black;font-size:18pt;color:#FF8040'>"+bsDate2+"</div><br><div style='FONT-SIZE: 10.5pt;color:#000000'>");
    document.write(bsWeek+"</div><br>"+"<hr width='60' size='1' color='#000000'></b><font color=#9B4E00>");
    document.write(bsYear+"<br>"+bsYear2+"</td></tr></table>");
    }
    var NSkey=(navigator.appName=="Netscape");function tick()
    {var today;var timeString="";var hours,minutes,seconds,wday;var intHours,intMinutes,intSeconds;var wdaysE=new Array("SUN","MON","TUE","WED","THU","FRI","SAT");var wdaysC=new Array("","","","","","","");today=new Date();intHours=today.getHours();intMinutes=today.getMinutes();intSeconds=today.getSeconds();if(NSkey)
    {wday=wdaysE[today.getDay()];}else
    {wday=wdaysC[today.getDay()];}if(intHours<10)
    {hours="0"+intHours;}else
    {hours=intHours;}if(intMinutes<10)
    {minutes=":0"+intMinutes;}else
    {minutes=":"+intMinutes;}if(intSeconds<10)
    {seconds=":0"+intSeconds;}else
    {seconds=":"+intSeconds;}timeString+="<table width=100% cellspacing=0>";timeString+="<tr><td align=center><div class=time>"+hours+minutes+seconds+" "+wday+"</div></td></tr>";timeString+="</table>";if(NSkey)
    {document.clock.document.open();document.clock.document.write(timeString);document.clock.document.close();}else
    {clock.innerHTML=timeString;}document.refreshTimer=setTimeout("tick();",1000);}
      

  4.   

    function start_menu()
    {
    this.AddExtendMenu=AddExtendMenu;
    this.AddItem=AddItem;
    this.GetMenu=GetMenu;
    this.HideAll=HideAll;
    this.I_OnMouseOver=I_OnMouseOver;
    this.I_OnMouseOut=I_OnMouseOut;
    this.I_OnMouseUp=I_OnMouseUp;
    this.P_OnMouseOver=P_OnMouseOver;
    this.P_OnMouseOut=P_OnMouseOut;
        A_rbpm = new Array();
        HTMLstr  = "";
        HTMLstr += "<!-- RightButton PopMenu -->\n";
        HTMLstr += "\n";
        HTMLstr += "<!-- PopMenu Starts -->\n";
        HTMLstr += "<div id='E_rbpm' class='rm_div'>\n";
                            // rbpm = right button pop menu
        HTMLstr += "<table width='100%' border='0' cellspacing='0'>\n";
        HTMLstr += "<tr><td height='264' width='20' valign='bottom'  bgcolor='#000000'  onclick='window.event.cancelBubble=true;' onmouseup='window.event.cancelBubble=true;'>\n";
        HTMLstr += "<img  onclick='window.event.cancelBubble=true;'' onmouseup='window.event.cancelBubble=true;'  border='0' src='icon/start_menu/welcome.gif' width='20' height='254'>\n";
        HTMLstr += "</td><td height='264' width='120' style='padding: 1' valign='bottom'>\n";
        HTMLstr += "<table width='100%' border='0' cellspacing='0'>\n";
        HTMLstr += "<!-- Insert A Extend Menu or Item On Here For E_rbpm -->\n";
        HTMLstr += "</table></td></tr></table>\n";
        HTMLstr += "</div>\n";
        HTMLstr += "<!-- Insert A Extend_Menu Area on Here For E_rbpm -->";
        HTMLstr += "\n";
        HTMLstr += "<!-- PopMenu Ends -->\n";
      }
      function AddExtendMenu(id,img,wh,name,parent)
      {
        var TempStr = "";    eval("A_"+parent+".length++");
        eval("A_"+parent+"[A_"+parent+".length-1] = id");  // 将此项注册到父菜单项的ID数组中去
        TempStr += "<div id='E_"+id+"' class='rm_div'>\n";
        TempStr += "<table width='100%' border='0' cellspacing='0'>\n";
        TempStr += "<!-- Insert A Extend Menu or Item On Here For E_"+id+" -->";
        TempStr += "</table>\n";
        TempStr += "</div>\n";
        TempStr += "<!-- Insert A Extend_Menu Area on Here For E_"+id+" -->";
        TempStr += "<!-- Insert A Extend_Menu Area on Here For E_"+parent+" -->";
        HTMLstr = HTMLstr.replace("<!-- Insert A Extend_Menu Area on Here For E_"+parent+" -->",TempStr);    eval("A_"+id+" = new Array()");
        TempStr  = "";
        TempStr += "<!-- Extend Item : P_"+id+" -->\n";
        TempStr += "<tr id='P_"+id+"' class='out'";
        TempStr += " onmouseover='P_OnMouseOver(\""+id+"\",\""+parent+"\")'";
        TempStr += " onmouseout='P_OnMouseOut(\""+id+"\",\""+parent+"\")'";
        TempStr += " onmouseup=window.event.cancelBubble=true;";
        TempStr += " onclick=window.event.cancelBubble=true;";
        TempStr += "><td nowrap>";
        TempStr += "<img border='0' src='icon/start_menu/"+img+".gif' align='absmiddle' hspace='2' vspace='1' width='"+wh+"' height='"+wh+"'>&nbsp;"+name+"&nbsp;&nbsp</td><td style='font-family: webdings; text-align: ;'>4";
        TempStr += "</td></tr>\n";
        TempStr += "<!-- Insert A Extend Menu or Item On Here For E_"+parent+" -->";
        HTMLstr = HTMLstr.replace("<!-- Insert A Extend Menu or Item On Here For E_"+parent+" -->",TempStr);
      }
      function AddItem(id,img,wh,name,parent,location)
      {
        var TempStr = "";
        var ItemStr = "<!-- ITEM : I_"+id+" -->";
        if(id == "sperator")
        {
          TempStr += ItemStr+"\n";
          TempStr += "<tr class='out' onclick='window.event.cancelBubble=true;' onmouseup='window.event.cancelBubble=true;'><td colspan='2' height='1'><hr class='sperator'></td></tr>";
          TempStr += "<!-- Insert A Extend Menu or Item On Here For E_"+parent+" -->";
          HTMLstr = HTMLstr.replace("<!-- Insert A Extend Menu or Item On Here For E_"+parent+" -->",TempStr);
          return;
        }
        if(HTMLstr.indexOf(ItemStr) != -1)
        {
          alert("I_"+id+"already exist!");
          return;
        }
        TempStr += ItemStr+"\n";
        TempStr += "<tr id='I_"+id+"'  class='out'";
        TempStr += " onmouseover='I_OnMouseOver(\""+id+"\",\""+parent+"\")'";
        TempStr += " onmouseout='I_OnMouseOut(\""+id+"\")'";
        TempStr += " onclick='window.event.cancelBubble=true;'";
        if(location == null)
          TempStr += " onmouseup='I_OnMouseUp(\""+id+"\",\""+parent+"\",null)'";
        else
          TempStr += " onmouseup='I_OnMouseUp(\""+id+"\",\""+parent+"\",\""+location+"\")'";
        TempStr += "><td nowrap>";
        TempStr +="<img border='0' src='icon/start_menu/"+img+".gif' align='absmiddle' hspace='2' vspace='1' width='"+wh+"' height='"+wh+"'>&nbsp;"+ name+"&nbsp;";
        TempStr += "</td><td></td></tr>\n";
        TempStr += "<!-- Insert A Extend Menu or Item On Here For E_"+parent+" -->";
        HTMLstr = HTMLstr.replace("<!-- Insert A Extend Menu or Item On Here For E_"+parent+" -->",TempStr);
      }
      function GetMenu()
      {
        return HTMLstr;
      }