Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 ÄäÃûº¯ÊýÒÔ¼°±Õ°üµÄÌØÐÔ

ÄäÃûº¯Êý
º¯ÊýÊÇJavaScriptÖÐ×îÁé»îµÄÒ»ÖÖ¶ÔÏó£¬ÕâÀïÖ»Êǽ²½âÆäÄäÃûº¯ÊýµÄÓÃ;¡£ÄäÃûº¯Êý£º¾ÍÊÇûÓк¯ÊýÃûµÄº¯Êý¡£
1¡¢º¯ÊýµÄ¶¨Ò壬Ê×Ïȼòµ¥½éÉÜһϺ¯ÊýµÄ¶¨Ò壬´óÖ¿ɷÖΪÈýÖÖ·½Ê½
µÚÒ»ÖÖ£ºÕâÒ²ÊÇ×î³£¹æµÄÒ»ÖÖ
function double( x ){
    return 2 * x;   
}
µÚ¶þÖÖ£ºÕâÖÖ·½·¨Ê¹ÓÃÁËFunc ......

JavaScriptÖÐÒ»µãÈÃÈ˺ܲ»Àí½âµÄµØ·½

Õâ¸öµØ·½¾ÍÊÇΪʲôËüµÄStringÀàÐͲ»Ö±½ÓÌṩһ¸ötrim·½·¨ÄØ£¿
Ϊʲôÿ´Î¶¼ÒªÐ´ÕâÑùÒ»¾ä»°ÄØ£¿
String.prototype.trim=function(){return this.replace(/(^\s*)|(\s*$)/g,"");}
ÕâÑùÓÐÒâ˼Âð£¿
JavaScriptÖй涨һ¸öÕâÑùµÄ·½·¨»áËÀ°¡£¿ ......

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
¡¡¡ ......

JavaScriptÖ®ÕýÔò

¶¨Òå·½·¨£º
1¡¢Óù¹Ô캯ÊýRegExp
2¡¢Ö±½ÓÁ¿£¬°üº¬ÔÚÒ»¶Ô£¨/£©Ö®¼äµÄ×Ö·û
Ö±½ÓÁ¿×Ö·û£º
×ÖĸÊý×Ö×Ö·û——×ÔÉí
\o——NULL×Ö·û
\t——ÖƱí·û
\n——»»Ðзû
\v——´¹Ö±ÖƱí·û
\f——»»Ò³·û
\r——»Ø³µ·û ......

Java°æµÄʵÏÖJavaScriptÖеÄeval()º¯Êý

ʵÏÖ²½Ö裺
1.×Ô¶¨ÒåÒ»¸öJavaÀ࣬¸ÃJavaÀàÖж¨ÒåÒ»¸ö·½·¨À´°üº¬ÐèÒª±»ÔËÐеĴúÂë¡£
2.¶¯Ì¬±àÒë¸Õ¸ÕÉú³ÉµÄJavaÔ´Â룬²»ÔÚ´ÅÅÌÉÏÉú³ÉÔ´Â룬¶øÊÇÖ±½Ó±àÒëÄÚ´æÖеÄJavaÔ´Âë¡£
3.¶¯Ì¬¼ÓÔظոմ´½¨±àÒëµÄJava¶þ½øÖÆÂ룬±àÒëºÃµÄJava¶þ½øÖÆÂë²»ÊÇÔÚ´ÅÅÌÉÏ£¬¶øÊÇ·ÅÔÚÄÚ´æÖУ¬²¢¶¨Òå×Ô¼ºµÄÀà¼ÓÔØÆ÷£¬¸ºÔð¼ÓÔØÄÚ´æÖеÄclassÎļþ¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ