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

marquee¹ö¶¯±êÇ©µÄjavascript(jquery)Ìæ´úÆ·

marquee¹ö¶¯±êÇ©µÄjavascript(jquery)Ìæ´úÆ·:jquery.marquee²å¼þ(http://remysharp.com/tag/marquee)   <!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ÎÞ±êÌâÎĵµ</title>
<script src="jquery-1.2.6.js" type="text/javascript"></script>
<script src="jquery.marquee.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
$(function () {
    // basic version is: $('div.demo marquee').marquee() - but we're doing some sexy extras   
    $('div.demo marquee').marquee('pointer').mouseover(function () {
        $(this).trigger('stop');
    }).mouseout(function () {
        $(this).trigger('start');
    }).mousemove(function (event) {
        if ($(this).data('drag') == true) {
            this.scrollLeft = $(this).data('scrollX') + ($(this).data('x') - event.clientX);
        }
    }).mousedown(function (event) {
        $(this).data('drag', true).data('x', event.clientX).data('scrollX', this.scrollLeft);
    }).mouseup(function () {
        $(this).data('drag', false);
    });
    //
    $('div.marquee').marquee().mouseover(function(){
    


Ïà¹ØÎĵµ£º

JavaScript »ñÈ¡¶ÔÏóµÄ¸ß¶ÈºÍ¿í¶ÈÏêϸ˵Ã÷

scrollHeight: »ñÈ¡¶ÔÏóµÄ¹ö¶¯¸ß¶È¡£
scrollLeft:ÉèÖûò»ñȡλÓÚ¶ÔÏó×ó±ß½çºÍ´°¿ÚÖÐĿǰ¿É¼ûÄÚÈݵÄ×î×ó¶ËÖ®¼äµÄ¾àÀë
scrollTop:ÉèÖûò»ñȡλÓÚ¶ÔÏó×î¶¥¶ËºÍ´°¿ÚÖпɼûÄÚÈݵÄ×î¶¥¶ËÖ®¼äµÄ¾àÀë
scrollWidth:»ñÈ¡¶ÔÏóµÄ¹ö¶¯¿í¶È
offsetHeight:»ñÈ¡¶ÔÏóÏà¶ÔÓÚ°æÃæ»òÓɸ¸×ø±ê offsetParent ÊôÐÔÖ¸¶¨µÄ¸¸×ø±êµÄ¸ß¶È
offsetL ......

firefox+Firebugµ÷ÊÔJavaScript¡¢HTMLºÍCSS

ʲôÊÇFirebug
´ÓÊÂÁËÊýÄêµÄWeb¿ª·¢¹¤×÷£¬Ô½À´Ô½¾õµÃÏÖÔÚ¶ÔWEB¿ª·¢ÓÐÁ˸ü¸ßµÄÒªÇó¡£ÒªÐ´³öƯÁÁµÄHTML´úÂ룻Ҫ±àд¾«ÖµÄCSSÑùʽ±íչʾÿ¸öÒ³ÃæÄ£¿é£»Òªµ÷ÊÔjavascript¸øÒ³ÃæÔö¼ÓһЩ¸ü»îÆÃµÄÒªËØ£»ÒªÊ¹ÓÃAjax¸øÓû§´øÀ´¸üºÃµÄÌåÑé¡£Ò»¸öÓÅÐãµÄWEB¿ª·¢ÈËÔ±ÐèÒª¹Ë¼°¸ü¶à²ãÃæ£¬²ÅÄܽ»³öÒ»·ÝͬÑùÓÅÐãµÄ×÷Òµ¡£Îª°ïÖú¹ã´óÕý´¦ÓÚW ......

10¸ö·Ç³£°ôµÄAjax¼°JavascriptʵÀý×ÊÔ´ÍøÕ¾

1.Ajax Rain
¡¡¡¡AjaxRainÓкܶàÍêÃÀÕûºÏAJAX, CSS, DHTML »ò JavascriptµÄʵÀý£¬ÓÐһЩDemoµÄÈ·ÖµµÃÄãÈ¥¿´Ò»¿´£¬¼´Ê¹Äã²»ÊÇÍøÒ³Éè¼Æ(¿ª·¢)ʦ¡£
Ajax/JavascriptʵÀý:
 EXT JS Date Picker
 jQuery Feed Menu
 jGrowl
 FastFind Menu – Jquery
 Spiffy Accordion
2.Ajax Daddy
¡¡¡ ......

×Ö·û´®ÖеÄJSONת»»³ÉJAVASCRIPTµÄOBJECT

// ÏÂÃæ´úÂë¿éʵÏÖÁËstring.parseJSON·½·¨
(function(s){
  // This prototype has been released into the Public Domain, 2007-03-20
  // Original Authorship: Douglas Crockford
  // Originating Website: http://www.JSON.org
  // Originating URL    : http://www.JSON.o ......

javascriptµ¯³öÒ»¸öÖ¸¶¨´óСµÄ´°¿Ú


Java´úÂë
<script language="JavaScript">   
function js_show(per_id)   
{   
   window.open('/weihu/person/viewResume.jsp?perID='+per_id, 'resume', 'resizable=yes,menuBar=0,toolBar=0,scrollbars=yes,width=800,height=600,left ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ