12
返回列表 發新帖
樓主: Tenny

[所有版本] 貼內廣告位加入隱藏選項

  [複製鏈接]
發表於 2013-3-1 11:34:19 | 顯示全部樓層
[隱藏]
請問站長,

有辦法讓預設隱藏嘛?
回復

使用道具 舉報

 樓主| 發表於 2013-3-1 12:25:33 | 顯示全部樓層
laxgenius 發表於 2013-3-1 11:34 AM
請問站長,

有辦法讓預設隱藏嘛?


改為
  1. <script type="text/javascript" language="JavaScript"><!--
  2. function DoViewIFRAME(tid1,tid2,tid3) {
  3. document.getElementById(tid1).style.display = "none";
  4. document.getElementById(tid2).style.display = "";
  5. document.getElementById(tid3).style.display = "";
  6. }
  7. function DoHideIFRAME(tid1,tid2,tid3) {
  8. document.getElementById(tid1).style.display = "none";
  9. document.getElementById(tid2).style.display = "none";
  10. document.getElementById(tid3).style.display = "";
  11. }
  12. //--></script>

  13. <span style="display: none;font-size: 12px; background-color: white; color: black; cursor: pointer;" onclick="DoHideIFRAME('hideiframe','aniframeupstart','viewiframe');" id="hideiframe">
  14. <div align="right" style="" id="aniframeupstart">
  15. <div align="right"><nobr>[隱藏]</nobr></div>
  16. 廣告</span></div>
  17. </div>
  18. <div align="right"><span style=" font-size: 12px; color: white; background-color: black; cursor: pointer;" onclick="DoViewIFRAME('viewiframe','hideiframe','aniframeupstart');" id="viewiframe">
  19. <nobr>[顯示]</nobr>
  20. </span>
複製代碼
回復

使用道具 舉報

發表於 2013-3-1 13:23:33 | 顯示全部樓層


感謝站長的解答!
回復

使用道具 舉報

發表於 2013-6-27 13:48:49 | 顯示全部樓層
這個很想要喔
回復

使用道具 舉報

發表於 2013-12-4 23:56:17 | 顯示全部樓層
方便!可是怎麽修改啊?
回復

使用道具 舉報

 樓主| 發表於 2013-12-5 09:27:20 | 顯示全部樓層
ttpeople 發表於 2013-12-4 23:56
方便!可是怎麽修改啊?

你想修改甚麼?
回復

使用道具 舉報

發表於 2013-12-5 12:33:28 | 顯示全部樓層

只可以在右邊的廣告嗎
回復

使用道具 舉報

 樓主| 發表於 2013-12-5 15:03:17 | 顯示全部樓層
ttpeople 發表於 2013-12-5 12:33
只可以在右邊的廣告嗎

貼內廣告位.

上面或下面都可以.
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

手機版|Archiver|排行榜|幫助|希望國度

GMT+8, 2024-5-5 00:32 , Processed in 0.067131 second(s), 12 queries .

Theme Design By Tenny (希望國度)| Version: 10.0

Powered by Discuz! X3.4 © 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表