彩蝶's profile彩蝶Butterfly ValleyPhotosBlogLists Tools Help

Comments (9)

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

Blog


     

    返回首頁 給我寫信 本站留言 SkyDrive 我的朋友

    如何實現(超強無攔截飄浮圖片廣告)在你空間出現!

      使用本教程需具備WEB及HTML基礎!出問題本人不負責哦!

      1.修改下面(JS腳本代碼)的紅色部份﹐打開記事本另存為HTML文檔﹐參考右邊圖片!

      <script language="JavaScript">
      <!--
      var imagepath="http://img514.imageshack.us/img514/9901/22hz3.jpg"
      var imagewidth=180 (圖片的寬度 可以修改)
      var imageheight=60 (圖片的高度 可以修改)
      var speed=3;
      var imageclick="http://y1118s1115.spaces.live.com/"
      var hideafter=0
      var isie=0;
      if(window.navigator.appName=="Microsoft Internet Explorer"&&window.navigator.appVersion.substring(window.navigator.appVersion.indexOf("MSIE")+5,window.navigator.appVersion.indexOf("MSIE")+8)>=5.5) {
      isie=1;
      }
      else {
      isie=0;
      }
      if(isie){
      var preloadit=new Image()
      preloadit.src=imagepath
      }
      function pop() {
      if(isie) {
      x=x+dx;y=y+dy;
      oPopup.show(x, y, imagewidth, imageheight);
      if(x+imagewidth+5>screen.width) dx=-dx;
      if(y+imageheight+5>screen.height) dy=-dy;
      if(x<0) dx=-dx;
      if(y<0) dy=-dy;
      startani=setTimeout("pop();",50);
      }
      }
      function dismisspopup(){
      clearTimeout(startani)
      oPopup.hide()
      }
      function dowhat(){
      if (imageclick=="dismiss")
      dismisspopup()
      else
      window.open(imageclick);
      }
      if(isie) {
      var x=0,y=0,dx=speed,dy=speed;
      var oPopup = window.createPopup();
      var oPopupBody = oPopup.document.body;
      oPopupBody.style.cursor="hand"
      oPopupBody.innerHTML = '<IMG SRC="'+preloadit.src+'">';
      oPopup.document.body.onmouseover=new Function("clearTimeout(startani)")
      oPopup.document.body.onmouseout=pop
      oPopup.document.body.onclick=dowhat
      pop();
      if (hideafter>0)
      setTimeout("dismisspopup()",hideafter*1000)
      }
      -->
      </script>

     

     

     

     

     

     

    2.將檔案上傳到第二度空間﹐推薦右方的常來網!→→→→→

    注意保留上傳檔案後得來的地址。

     
    3.新增一個SANDBOX(可原用舊有的SANDBOX)貼上

    下面的(轉移代碼)。這樣就可以從第二度空間的物件轉移到你的空

    間了。紅色部份改為你上傳檔案得來的地址!!!

    <iframe scrolling="no" frameborder="0" width="0" height="0" src="http://m.thec.cn/wansanglee/guanggao.html" allowtransparency="true"></iframe>
    這樣就大工告成!!!

    這個SANDBOX不會顯示任何內容!如果你覺得單調!可加插圖片FLASH/跑馬燈等....

    Sept. 21
    Aug. 10
    Aug. 2
    游子 j.cwrote:
     中秋節快樂!
    我這麽熟悉的地方,都快找不到留言的地方了,哈哈。
    哇 好漂亮!!!
    Sept. 24
     
    朋友問我那個七星瓢蟲的做法
    哎呀。。難倒我了。。
    用寫的好像有點難明白哦。。
    所以跑來借用大叔這篇指南咯。。
    感謝咯。。
    July 10
    -J Imwrote:
    大叔,谢谢您!
    我成功了!好高兴!嘻嘻。。
    June 22
     
    謝謝大叔無私分享。。
    云云今天第一天上班。。休息了6天。。有得忙。。
    待云云空閒時再慢慢學阿。。
     
    June 1
    wuwu wuwrote:
    thanks
    May 29
    Picture of Anonymous
    Boubo wrote:
    welcome to my home 分享身边快乐:)
    May 14

    Trackbacks

    The trackback URL for this entry is:
    http://y1118s1115.spaces.live.com/blog/cns!90FDECCBA8C96E98!1165.trak
    Weblogs that reference this entry
    • None