小说园

小说园>十万个为什么[无限 > 第23部分(第4页)

第23部分(第4页)

else

{  return  false;}

thev1=getCookieVal(v1)    read

thev2=getCookieVal(v2)    read

105;Q:电子邮件表单提交的问题

A:首先必需正确配置邮件客户端(Outlook  Express  等)的帐户设置,这样,如果点按表单下的“提交”按钮,浏览器就会自动启用它发送邮件。目前,Foxmail  尚不支持这种电子邮件表单提交。

106;Q:用代码构造自己的窗口[奇书网Jar乐园—QiSuu。Com]

A:

function  xwindow(w;h;x;y;title;color;bordercolor;url)

move_function=〃var  isinit=false;r〃;

move_function+=〃var  mywindowok=true;r〃;

move_function+=〃function  mouseSTATUS()  {r〃;

move_function+=〃this。x  =  null;r〃;

move_function+=〃this。y  =  null;r〃;

move_function+=〃this。bt  =up;r〃;

move_function+=〃this。oldx  =  null;r〃;

move_function+=〃this。oldy  =  null;r〃;

move_function+=〃this。dx  =  null;r〃;

move_function+=〃this。dy  =  null;r〃;

move_function+=〃this。screeny  =  null;r〃;

move_function+=〃this。screenx  =  null;r〃;

move_function+=〃this。element  =  null;r〃;

move_function+=〃this。event  =  null;r〃;

move_function+=〃}r〃;

move_function+=〃var  mouse  =  new  mouseSTATUS();r〃;

move_function+=〃function  actualizateMouseSTATUS(e)  {r〃;

move_function+=〃if  (!e)  var  e  =  eventr〃;

move_function+=〃if  ((e。type==mousedown  ||  e。type==mouseup)  &&  e。button!=1)  return  truer〃;

move_function+=〃var  x=e。x+document。body。scrollLeftr〃;

move_function+=〃var  y=e。y+document。body。scrollTopr〃;

move_function+=〃mouse。x=x;r〃;

move_function+=〃mouse。y=y;r〃;

move_function+=〃if  (e。type==mousedown)  mouse。bt  =  down

已完结热门小说推荐

最新标签