免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 發帖

[已回答] 更換美化主題圖標遇到問題

本帖最後由 azukki 於 2015-8-22 11:48 編輯

爬文找到了這一篇文章更換:美化你的主題圖標代碼7.0-7.2通用
--------------------------------
覺得實用,於是就決定來試一下
但是,全部按照代碼來做修正之後,
主題圖標卻沒有任何動靜,
求解!!
--------------------------------
(PS:是不是我代碼放置格式錯誤?)
我修改過的代碼
  1. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon2.gif"){yPic
  2. [sp].src="http://mengworkshop.imotor.com/attachments/month_1508/1508221017a19f790213cc3f18.gif"}};</script>

  3. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon3.gif"){yPic
  4. [sp].src="http://mengworkshop.imotor.com/attachments/month_1508/1508221017e651a4bb6384d72c.png"}};</script>

  5. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon4.gif"){yPic
  6. [sp].src="http://mengworkshop.imotor.com/attachments/month_1508/15082210175c59a962ffdacbf9.gif"}};</script>

  7. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon5.gif"){yPic
  8. [sp].src="http://mengworkshop.imotor.com/attachments/month_1508/15082210172d873cff87f1ff7b.gif"}};</script>

  9. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon6.gif"){yPic
  10. [sp].src="http://mengworkshop.imotor.com/attachments/month_1508/1508221017845caee7631eff09.gif"}};</script>

  11. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon7.gif"){yPic
  12. [sp].src="http://mengworkshop.imotor.com/attachments/month_1508/150822101753d0a2147a18f6a9.gif"}};</script>

  13. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon8.gif"){yPic
  14. [sp].src="http://mengworkshop.imotor.com/attachments/month_1508/1508221017823942419e38c7e8.gif"}};</script>

  15. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon9.gif"){yPic
  16. [sp].src="http://mengworkshop.imotor.com/attachments/month_1508/1508221017a81ed89bf3829d31.gif"}};</script>

  17. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon10.gif"){yPic
  18. [sp].src="http://mengworkshop.imotor.com/attachments/month_1508/1508221017e3e7257185f50114.gif"}};</script>

  19. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon11.gif"){yPic
  20. [sp].src="http://mengworkshop.imotor.com/attachments/month_1508/15082210177c60a5aebe6e97f7.gif"}};</script>

  21. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon12.gif"){yPic
  22. [sp].src="http://mengworkshop.imotor.com/attachments/month_1508/1508221017b96dac1413f4b1a1.gif"}};</script>

  23. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon13.gif"){yPic
  24. [sp].src="http://mengworkshop.imotor.com/attachments/month_1508/150822101744d9dacab37d97d3.gif"}};</script>

  25. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon14.gif"){yPic
  26. [sp].src="http://mengworkshop.imotor.com/attachments/month_1508/1508221017c89eee68f8ddfd8b.gif"}};</script>

  27. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon15.gif"){yPic
  28. [sp].src="http://mengworkshop.imotor.com/attachments/month_1508/1508221017c21410481629c895.gif"}};</script>

  29. <script>var yPic=document.getElementsByTagName("img");for(sp=0;sp<yPic.length;sp++){if(yPic[sp].src=="http://mengworkshop.imotor.com//images/icons/icon16.gif"){yPic
  30. [sp].src="http://sclub.com.tw/discuz/attachments/month_1206/1206260813fc4fd7072c474665.gif"}};</script>
複製代碼
1

評分人數

感謝答覆,馬上就來試試看!

TOP

capture-20150822-152822.png
但這個真的不知道該怎麼弄了 = =

TOP

返回列表