locker2man さんのプロフィール探索Msn Spaces的奥秘ブログリスト ツール ヘルプ
    2005/06/19

    Msn Spaces 进阶教程之探索源代码

    Msn Spaces高手编写的源代码,供有兴趣的人研究!

    Edit It!  <!--Scott编写的代码,也是我们最先接触的工具-->
    <!--code start-->
    if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
      {
        EditBox.setToolbar("tbmode",true);
        EditBox.setToolbar("tbfontstyle",true);
        EditBox.setToolbar("tbfontsize",true);
        EditBox.setToolbar("tbcut",true);
        EditBox.setToolbar("tbcopy",true);
        EditBox.setToolbar("tbpaste",true);
        EditBox.setToolbar("tbbar1",true);
        EditBox.setToolbar("tbbar2",true);
        void(document.all.rtebox.style.height="400");
        void(document.all.EditBox.style.height="400");
      }

    <!--code end-->

    China As  <!--原创者无从考究,之后与Edit It!双剑合壁,Space任我遨游-->
    <!--code start-->
    if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
      {
        EditBox.setToolbar("tbmode",true);
        EditBox.setToolbar("tbimage",true);
        EditBox.setToolbar("tbformatblock",true);
        EditBox.setToolbar("tbtable",true);
        EditBox.setToolbar("tbbgcolor",true);
        EditBox.setToolbar("tbline",true);
        void(document.all.rtebox.style.height="400");
        void(document.all.EditBox.style.height="400");
      }

    <!--code end-->

    Edit It Plus-Show  <!--Sanall Cobain编写的代码,Edit It!的绝杀-->
    <!--code start-->
    if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
      {
        var aIds = new Array('fontsize','fontstyle','cut','copy','paste','bar1','bar2','image','formatblock','table','bgcolor','line','mode');
        for(var i = 0; i<aIds.length;i++)
         {
           EditBox.setToolbar('tb'+aIds[i],true);
         }
        void(document.all.rtebox.style.height='400');
        void(document.all.EditBox.style.height='400');
      }

    <!--code end-->

    Edit It Plus-Hide  <!--Sanall Cobain编写的Edit It plus-Show的反向操作-->
    <!--code start-->
    if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
      {
        var aIds =new Array('fontsize','fontstyle','cut','copy','paste','bar1','bar2','image','formatblock','table','bgcolor','line','mode');
        for(var i = 0; i<aIds.length;i++)
         {
           EditBox.setToolbar('tb'+aIds[i],false);
         }
        void(document.all.rtebox.style.height='400');
        void(document.all.EditBox.style.height='400');
      }

    <!--code end-->

    Background Music Adder  <!--Sanall Cobain编写的背景音乐添加器,无需手动,只需行动-->
    <!--code start-->
    if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
      {
        var url = prompt('Sanall Cobain Prompts you to enter your music file URL below','your music file URL location');
        if( url != null )
          {
            void(EditBox.cbMode.checked=true);
            EditBox.setMode(false);
            EditBox.insertHTML('<img width=0 height=0 loop=infinite dynsrc='+url+'>');
          }
      }

    <!--code end-->

    Image Adder  <!--Sanall Cobain编写的图片添加器-->
    <!--code start-->
    if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
      {
        var url = prompt('Sanall Cobain Prompts you to enter your image file URL below','your image file URL location');
        if( url != null )
          {
            EditBox.insertHTML('<img src=\''+ url +'\'>');
          }
      }

    <!--code end-->

    Enable Blank Title  <!--Sanall Cobain编写,生成无标题日志-->
    <!--code start-->
    if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
      {
        void(document.all.btn2.disabled=false);
        void(document.all.btn1.disabled=false);
      }

    <!--code end-->

    Jump It!  <!--Sanall Cobain编写,具体用途保密。可帮了我一个大忙-->
    <!--code start-->
    (function(){var b="_blogpart",a="http://spaces.msn.com/members/",l=window.location.href;/*by noroom*/if(l.match(a)){window.location=a+l.replace(/.+mbers\/([^\/]+).*/,"$1")+((l.match(/blog\//i))?"/PersonalSpace.aspx?_c11"+b+"_handle="+l.replace(/.+blog\/([a-z0-9!_-]+)\.entry.*/i,"$1")+"&_c11"+b+b+"=blogentry&_c11"+b+"_frompart=myspace&_c=BlogPart&_c02_owner=1":"/Blog/"+l.replace(/.+handle=([^&]+).*/i,"$1")+".entry")}})()
    <!--code end-->

    Create Signature  <!--Sanall编写的个性签名生成器-->
    <!--code start-->
    if (navigator.userAgent.indexOf("MSIE")>0 && document.all.rtebox!=null)
      {
        EditBox.appendHTML("<P align='right'><FONT face='Comic Sans MS' color='#00ff00'><EM><SUB>Sanall Cobain posted on "+(new Date()).toString()+"</SUB></EM></FONT></P>");
      }

    <!--code end-->

    コメント (75 件)

    しばらくお待ちください。
    入力されたコメントは長すぎます。短くしてください。
    何も入力されていません。もう一度やり直してください。
    現在、コメントを追加できません。後でもう一度やり直してください。
    コメントと書くには、保護者 (ほごしゃ) の方の許可 (きょか) をもらってください。許可をリクエストする
    保護者 (ほごしゃ) の方が、あなたがコメントを書けないようにしています。
    現在、コメントを削除できません。後でもう一度やり直してください。
    1 日に投稿できるコメントの最大数を超えました。24 時間経過してから、もう一度やり直してください。
    あなたが他のユーザーに対して迷惑行為を行っている可能性があると確認されたため、お使いのアカウントによるコメントの投稿を無効にしています。誤って無効にされたと思われる場合は、Windows Live のサポートにお問い合わせください。
    コメントを投稿する前に、以下のセキュリティ チェックを完了してください。
    セキュリティ チェックに入力する文字は、画像に表示されている文字または音声で流れた文字と一致していなければいけません。

    コメントを投稿するには、お使いの Windows Live ID でサインインしてください (Hotmail、Messenger、または Xbox LIVE を既に使用している場合は、そのアカウントが Windows Live ID です)。サインイン


    Windows Live ID をお持ちでない場合は、アカウントを新規登録してください。

    名前なしさんの投稿:
    到底是怎么用的个性签名呢?
    11 月 11 日
    j jさんの投稿:
    Custom HTML 编辑图片的代码有吗?
     
    3 月 3 日
    しにがみ晉さんの投稿:
    ......介位大郭.....
    12 月 21 日
    惟时毅惘然さんの投稿:
    是HTML码还是什么啊?
    7 月 10 日
    牛 丽娜さんの投稿:
    “那个具体用途保密”的代码虽只看到部分,猜测function的功能好像是:如果 l 这个链接是会员的话(.match(a))则可定位到他的网络日志的编辑状态下,否则只能跳转到浏览界面。
    6 月 19 日
    bobo嘫さんの投稿:
    顶  就是不懂!
    6 月 13 日
    水景叶さんの投稿:
    顶一下吧,这个站很全面哦
    6 月 6 日
    Wang haiさんの投稿:
    请多多指教!
    6 月 1 日
    非常感谢您的教程!在您的教程的帮助下我 我空间知识学的很好!多谢您的指导!
     
    我现在把 好多高手 的教程列表都整理了出来!希望对大家有所帮助!特别是哪些新手!
     很全很全!基本所有的空间技巧都有了! 希望大家有空看看我的空间!
                                  我保证绝对不会让大家失望的!
    教程就是我空间的“个人收藏”里!我共分了十个板块!是很多高手的 呕心力作!
    绝对不会让大家白走一趟的!好好去我空间看看吧! 谢谢个位!
    空间地址: http://spaces.msn.com/loveyouneverchange/
     
     
     
    我的MSN是 jlw-123@msn.com 
    大家有可能的话可以加我!
    5 月 31 日
    倪 林さんの投稿:
    没有HTML基础的根本就看不懂,发这些个Code有什么用啊?
    5 月 25 日
    Macula.郭さんの投稿:
    这些CODE引用的太片段了吧!
    5 月 24 日
    丁 丁さんの投稿:
    我也没怎么看懂呀
    5 月 20 日
    Arthur Youngさんの投稿:
    不知道用在什么地方,但谢谢了
    5 月 10 日
    这好的东西 看的些牛  就是不会用!
     
    4 月 23 日
    さんの投稿:
    有一点懂,不过没多大用处。
    4 月 23 日
    風塵林さんの投稿:
    怎么用阿
     
    4 月 23 日
    老虎狗さんの投稿:
    我有好多东东都不太会 谁能帮帮我啊!
    我不知道怎么加留言,不知道怎么加显IP,还有链接怎么加
    4 月 18 日
    寂寞de烟圈さんの投稿:
    要是都解释下就好了。
    4 月 16 日
    音乐虫虫andyさんの投稿:
    cai ni  yi xia
    na zou
    4 月 13 日
    _.Λnɡel﹏さんの投稿:
    真是复杂啊~~~我刚申请,不会哦~~5555555
    4 月 12 日