Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

javascript ¸¡¶¯´°¿Ú¹ö¶¯.Í϶¯

<script type="text/javascript">
 function close(){
  QQkefu.style.display="none";
  return true;
 }
  function msgBox()
 {
  this.container = "aaaa";
  this.titleheadArea = "titlehead";
  this.width = 154;
  this.height = 105;
  this.smallHeight = 20;
  this.smallId = "small";
  this.area = ( document.compatMode.toLowerCase()=="css1compat" ) ? document.documentElement : document.body;
  this.space = 5;
  this.timer;
  this.timeOut = 150;
  this.smalled = false;
  window.msgBoxListener = this;
  this.$(this.smallId).onclick= function(){msgBoxListener.toSmall()};
 }
 msgBox.prototype.flow = function()
 {
  this.$(this.container).style.position = "absolute";
  this.$(this.container).style.zIndex = "1000";
  if(this.smalled)
  {
   this.$(this.container).style.top = this.area.scrollTop + this.area.clientHeight - this.smallHeight - this.space + "px";
  }else{
   this.$(this.container).style.top = this.area.scrollTop + this.area.clientHeight - this.height - this.space + "px";
  }
   this.$(this.container).style.left = this.area.scrollLeft + this.area.clientWidth - this.width - this.space + "px";
  }
  msgBox.prototype.toSmall = function()
  {
   if(this.smalled)
   {
    this.$(this.container).style.marginTop = -this.height + "px";
    this.$(this.container).style.height = this.height + "px";
     this.smalled = false;
    this.flow();
    this.$(this.container).style.marginTop = "0px";
   }else{
    th


Ïà¹ØÎĵµ£º

javascript arguments¶ÔÏó

ÔÚjavascriptº¯ÊýÌåÄÚ£¬±êʶ·ûarguments¾ßÓÐÌØÊ⺬Òå¡£ËüÊǵ÷ÓöÔÏóµÄÒ»¸öÌØÊâÊôÐÔ£¬ÓÃÀ´ÒýÓÃArguments¶ÔÏó¡£Arugments¶ÔÏó¾ÍÏñÊý×飬עÒâÕâÀïÖ»ÊÇÏñ²¢²»Êǹþ¡£
javascriptº¯ÊýÌåÄÚ£¬argumentsÏñÊý×é(²¢²»ÊÇÕæµÄÊý×飬ÊÇÒ»¸öArguments¶ÔÏó£¬ÔÙ´ÎÇ¿µ÷)Ò»Ñù£¬ÓÐlengthÊôÐÔ£¬¿ÉÒÔ´ú±í´«¸øº¯ÊýµÄ²ÎÊýµÄ¸öÊý¡£
ÒýÓÃÒ»¸öÐÎʽ²ÎÊ ......

VB.NET/C# and JavaScript communication

Introduction
This article is about passing data between VB.NET/C# WinForms and JavaScript.
Before reading further, let me warn you that this article is not about ASP.NET. Concepts covered in the article are applied to Desktop applications.
Background
I was working on a project which required dat ......

JavaScript ÖеÄ==ºÍ===

ÔÚjsÖУ¬Éϴο´µ½Ò»¶Î´úÂë===ÅжÏʹÓÃ3¸ö=ºÅ
ÎÒÄÉÃÆÁË Ò»ÔËÐÐ Õý³£µÄ¡£
ÓÚÊÇν֮Ի£º“ÉñÂë”
ºó²éÔĵÃÖª
==Ö»ÊÇÅжÏÖµÊÇ·ñÏàµÈ
===ÅжÏÖµºÍÀàÐÍÊÇ·ñ¶¼ÏàµÈ
±ÈÈç
var key="222";
var key2=222;
alert(key==key2)//ture
alert(key===key2)//false
²»ÖªµÀÆäËûµÄÈõÀàÐÍÊÇ·ñ¶¼ÊÇÒ»Ñù¡£ ......

JavaScript£¬µÈ±ÈÀýËõ·ÅͼƬµÄº¯Êý

    ÔÚWebÉÏÏÔʾͼƬ£¬Í¨³£¶¼»áÓÐͼƬÏÔʾ±ÈÀýÎÊÌ⣬Èç¹û²»¸ø<img />ÏÞÖÆwidthºÍheight£¬ÄÇôÈç¹ûͼƬ´óÁ˾ͻὫÕû¸öÒ³Ãæ¼·ÂÒ£¬Í¼Æ¬Ð¡ÁËÓÖ»áÊ¹Í¼Æ¬Ê§Õæ¡£
    ÎÒµÄÐèÇóÈçÏ£º
        1¡¢Ô¤Ïȶ¨ÒåºÃͼƬÏÔʾµÄ±ê×¼¿í¶ÈºÍ¸ß¶È¡£
  &nb ......

javascriptµØÖ·À¸Ð´·¨

javascriptµØÖ·À¸Ð´·¨
±¾µØ¿Í»§¶Ëȫѡcheckbox.¿ÉÒÔÓÃÕâ¸öÑ¡¡£
0. ǰÑÔ
ËùνIEµØÖ·À¸±í´ïʽ£¬¾ÍÊÇÔÚIEµÄµØÖ·À¸ÖÐÊäÈë javascript:<´úÂë>£¬Ö´ÐÐijЩ¹¦ÄÜ£¬À´¶¯Ì¬¸Ä±äÔ­ÓÐÒ³ÃæµÄ²ÎÊýÒԴﵽijЩĿµÄ£¬ÀýÈ翪·Å±»½ûÖ¹µÄ°´Å¥¡¢ÏÔʾԭ±¾Òþ²ØµÄͼƬµÈµÈ¡£±¾ÎĽ«¾ÍIEµØÖ·À¸µÄʹÓ÷½·¨×öÒ»¸öÏêϸµÄ˵Ã÷¡£
1. ±í´ïʽµÄÊéд· ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ