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

ÓÃjavascript¶¯Ì¬ÉèÖÃcssÑùʽµÄÖµ

 css¿ØÖÆÎ»Öãº
´¿Êý×Ö
el.style.posLeft = 0;
el.style.posTop = 0;
Êý×Ö+µ¥Î»
el.style.left = "0px";
el.style.top = "0px";
css¿ØÖÆÔªËصÄÑùʽ£º
document.getElementById("para").style.fontWeight ="bold";
»ò£¨ÆäËûÒ²ÊÇÕâÑù£©£º
document.getElementById("para").className ="strong";


Ïà¹ØÎĵµ£º

Google ÅÅÃûÖÐµÄ 10 ¸ö×îÖøÃûµÄ JavaScript ¿â

ugmbbc·¢²¼ÓÚ 2009-11-14 09:41:43| 7628 ´ÎÔĶÁ ×ÖÌ壺´ó С ´òÓ¡Ô¤ÀÀ
var ReTitle = '»Ø¸´:Google ÅÅÃûÖÐµÄ 10 ¸ö×îÖøÃûµÄ JavaScript ¿â';
¸ÐлCOMSHARP CMSµÄͶµÝ
ÐÂÎÅÀ´Ô´:tripwiremagazine.com
JavaScript ÊÇ Web ¿ª·¢ÓëÉè¼ÆÖв»¿É»òȱµÄ¶«Î÷£¬²»¹ÜÊÇÒ»¸ö¼òµ¥µÄÍøÒ³»¹ÊÇÒ»¸öרҵµÄÕ¾µã£¬Ò²²»¹ÜÄãÊǸßÊÖ»¹ÊDzËÄñ ......

Ê® ¸ö×îÎÅÃûµÄ JavaScript ¿â

 JavaScript ÊÇ Web ¿ª·¢ÓëÉè¼ÆÖÐȱһ²»¿ÉµÄ»õÉ«£¬²»¹ÜÊÇÒ»¸ö¼òÂÔµÄÍøÒ³ÈÔÊÇÒ»¸öרҵµÄÕ¾µã£¬Ò²±Â¹ÜÄãÊǺÃÊÖÈÔÊDzËÄñ£¬ÏÖ½ñ JavaScript ¿âÓúÀ´ÓúÇ¿´ó£¬¿ÉÒÔʤÈκöิÔӵŤ×÷£¬È»ÔòÓë´Ëͬʱ£¬ÖÚÈËÔÚ·ºÀÄ JavaScript ¿âÑÛǰÓÖ¾õ×Ų»ÖªËù´ë£¬ÕýÎÄ£¬ÎÒÃǽ«Ó¦Óà Google ËÑѰ³öÅÅÐÐǰ Ê® λµÄ JavaScript ¿â£¬²¢¶ÔËüÃÇÖð¸ö ......

CSSÖÐ10¼þÄãÐèÒªÖªµÀµÄÊÂ


1.  CSSµÄÒªµãÊÇÔÚÄãµÄÒ³ÃæÖÐʹÓüò½àµÄHTML´úÂë,È»ºó±àдCSS"¿ØÖƹæÔò"À´Ñùʽ»¯Ò³ÃæÖеĶÔÏó.Ò³Ãæ±£³ÖÇåÎúÓÐÌõ²»ÎÉ¿´ÉÏÈ¥·Ç³£°ô.ÕâÑùÄãµÄHtmlÒ³Ãæ¿ÉÒÔÔÚÒÆ¶¯É豸ºÍ±ê×¼ä¯ÀÀÆ÷ÖÐÔËÐÐ.Õâ¾ÍÊÇCSSµÄÒªµã.
²»¹ýCSSµÄÒÕÊõÔÚÓÚÄܹ»ÀûÓÃCSS¿ØÖƹæÔò¿ìËÙÓÐЧµØ²Ù×ÝÒ³Ãæ¶ÔÏó.°ÑCSS¹æÔòÓëHTML±ê¼ÇÆ¥ÅäÆðÀ´µÄ²Ù×ö¾ÍºÃÏñÊÇÒ»ÖÖ¶ ......

×Ô¼º¶¯ÊÖÓÃjavascriptдxpath

       ×Ô¼ºÒÔǰд¹ýһƪÎÄÕ£¬ÊǹØÓÚdomÏÂxpathµÄ±àд£¬²»¹ýÄÇÊǽèÖúä¯ÀÀÆ÷±¾ÉíµÄÌØÐÔ£¬Õâ´ÎÎÒÏëÓÃjavascripºÍÕýÔò±í´ïʽ´òÔì×Ô¼ºµÄxpath£¬²»¶à啰࣬¿´´úÂ룺
  
function xpath(n,m){
 if(/\]$/i.test(m)){
  var t1=[]
  var reg=/ ......

css³£Óò¼¾ÖÑùʽ

 1.Ò»ÐÐÈýÁÐ
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="gb2312">
<head><title>css²¼¾Ö£ºÒ»ÐÐÈýÁÐ</title>
<link rel="stylesheet" href ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ