┢┦aPpY ☆╮『 酷色炫彩...'s profile┢┦aPpY ☆╮『 酷色炫彩 』ⓒⓞⓞⓛPhotosBlogLists Tools Help

Blog


    August 19

    如何无限添加日志数目

    任意设置MSN Space空间首页显示的日志数目
     

    引用自Rainwalk

    前些日子有网友问如何任意设置首页上网络日志的显示数目。MSN Space用下拉框提供了5,10,15,20这四个选择,这样看来似乎无法设置其他数字,但仔细一想,既然这是一个客户端的select对象,我们可以写一段代码来让浏览器执行,添加下拉框的中的数字值。这里我写了一段代码,是大家可以自定义1到99的首页显示的日志数。通过执行下面的一段代码,我将我自己的空间首页显示日志数修改成了8。执行下面的代码后,下拉框如下图所示

     

    javascript代码如下:

    javascript:var e=document.getElementsByTagName("select");var i=0;for(;i<e.length;i++){if(e[i].name=="NumBlogs")break;}if(i<e.length){var ops=e[i].options;while(ops.length!=0){ops.remove(0);}for(i=1;i<100;i++){var op=new Option();op.text=""+i;op.value=""+i;ops.add(op);}}else{alert('error');}

    使用方法:

    1.参照以前的方法将上面这段代码加入到你的收藏夹中,使之成为一个“按钮”

    2.在你Space的网络日志设置页面使用这个“按钮”,下拉框的选项就会自动更新成从1到99

    3.选择一个数值,保存即可


     PS:有朋友不会使用这个,其实跟以前的MSN功能加强是差不多的道理啦

    下面跟大家介绍我的用法,有点笨哦,不过希望可以帮到大家

    首先先把一个网页收藏到你的收藏夹,打开该网页的属性,把里面的URL换成上面的代码按应用,

    它会弹出个javascript为未注册之类的东东,不管它,还是按确定就OK啦!

     注意:一定要使用IE浏览器

    Comments (6)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    我也是噢噢噢~!
    用不到~!~!~!
    咋办??噢噢噢噢
    May 2
    stefwrote:
    为什么我一保存,就显示此空间不可用,再重新打开,还是原样???
    Feb. 7
    Picture of Anonymous
    ☆叛逆₣ғĦℤミ●﹏☉ミ♥¯♡´ wrote:
    ,..不行呀~~


    为什么我一保存,就显示此空间不可用,再重新打开,还是原样……


    我和她 一样~

    都不可以~

    可以请问一下..
    Nov. 12
    Picture of Anonymous
    ☆叛逆₣ғĦℤミ●﹏☉ミ♥¯♡´ wrote:
    ,..不行呀~~


    为什么我一保存,就显示此空间不可用,再重新打开,还是原样……


    我和她 一样~

    都不可以~

    可以请问一下..
    Nov. 12
    Picture of Anonymous
    1103e wrote:
    看了半天还是不太明白啊
    能不能说的更详细点啊!
    Sept. 26
    Picture of Anonymous
    菜心的小菜园 wrote:
    为什么我一保存,就显示此空间不可用,再重新打开,还是原样……
    Sept. 21

    Trackbacks

    The trackback URL for this entry is:
    http://akulix.spaces.live.com/blog/cns!C12449916995B2EF!167.trak
    Weblogs that reference this entry
    • None