[分享]wog v3新外掛玩家指令(收縮式主選單)

WOG設定安裝教學

版主: 涅魂, 簫哥

簫哥
 
文章: 629
註冊時間: 2006-04-01 9:08 pm
來自: 戰略電玩
性別: 男生

[分享]wog v3新外掛玩家指令(收縮式主選單)

文章簫哥 » 2006-06-07 8:57 pm

wog v3新外掛玩家指令(收縮式主選單),繼v3聊天室之後,簫哥發佈全新的外掛,下方的框架視窗(聊天室介面)把一半的操作按鈕遮住了,打算引用wog_faq.php當中的語法,更好是可以讓佔用介面量更少了,寬度縮短至88像素,從此不再擔心麻煩的操作。
1.打開wog_foot.htm,在<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=big5">後面整頓一段覆蓋到</body>為止,代碼如下列。
代碼: 選擇全部
<STYLE type="text/css">
<!--
body,tr,td,th { font-size: 10pt; font-family: verdana }
.show{border:1px solid #0000FF;background:#33CCFF;color:#000000;width:100%;}
-->
</STYLE>
</head>
<body text="#33CCFF" link="#33CCFF" vlink="#33CCFF" alink="#33CCFF" style="background-image: url(images/<?php echo $c_back_img; ?>); oncontextmenu="return false">
<form action="wog_act.php" method="post" name="f1" target="mission" id="f1">
  <table width=88 border="1" cellspacing="0" cellpadding="2">
    <tr>
      <td align="center" bgcolor="#003F7F">玩家指令</td>
    <tr>
      <td><input name="button" type="button" class="show" onClick="p01.style.display=p01.style.display=='none'?'':'none';" value="冒險旅程">
          <span id="p01" style="display:none">
          <table width="68" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="left"><input type="button" value="冒險開始" name="ats1" onClick="parent.ad_view()"></td>
            </tr>
            <tr>
              <td align="left"><input type="button" value="組隊探險" name="Input" onClick="parent.team_view()"></td>
            </tr>
            <tr>
              <td align="left"><input type="button" value="公會中心" name="Input2" onClick="parent.group_view()"></td>
            </tr>
          </table>
        </span> <br>
          <input name="button2" type="button" class="show" onClick="p02.style.display=p02.style.display=='none'?'':'none'" value="貿易交流">
          <span id="p02" style="display:none">
          <table width="68" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="left"><input name="button2" type="button" onClick="parent.select_store()" value="城鎮商店"></td>
            </tr>
            <tr>
              <td align="left"><input name="button2" type="button" onClick="parent.arm_select()" value="裝備倉庫"></td>
            </tr>
            <tr>
              <td align="left"><input name="button3" type="button" onClick="parent.act_click('store','hotel')" value="住宿旅館"></td>
            </tr>
          </table>
        </span> <br>
          <input name="button2" type="button" class="show" onClick="p03.style.display=p03.style.display=='none'?'':'none'" value="能力狀態">
          <span id="p03" style="display:none">
          <table width="68" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="left"><input name="button4" type="button" onClick="parent.act_click('chara','status_view')" value="角色狀態"></td>
            </tr>
            <tr>
              <td align="left"><input name="button5" type="button" onClick="parent.act_click('chara','cp')" value="冠軍狀態"></td>
            </tr>
            <tr>
              <td align="left"><input name="button6" type="button" onClick="parent.mission_ed()" value="任務手冊"></td>
            </tr>
          </table>
        </span> <br>
          <input name="button2" type="button" class="show" onClick="p04.style.display=p04.style.display=='none'?'':'none'" value="目標對像">
          <span id="p04" style="display:none">
          <table width="68" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="left"><select name="towho" >
                  <option selected value=''>全部
                  </select></td>
            </tr>
            <tr>
              <td align="left"><input name="button7" type="button" onClick="parent.noname()" value="取消對像"></td>
            </tr>
            <tr>
              <td align="left"><input name="button8" type="button" onClick="parent.act_click('pk','view')" value=" PK設定 "></td>
            </tr>
          </table>
        </span> <br>
          <input name="button2" type="button" class="show" onClick="p05.style.display=p05.style.display=='none'?'':'none'" value="訊息中心">
          <span id="p05" style="display:none">
          <table width="68" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="left"><input name="button9" type="button" onClick="parent.message()" value="秘密傳訊"></td>
            </tr>
            <tr>
              <td align="left"><input name="button10" type="button" onClick="parent.act_click('system','view1')" value="情報中心"></td>
            </tr>
            <tr>
              <td align="left"><input name="button11" type="button" onClick="parent.act_click('chara','view2')" value="偵查對手"></td>
            </tr>
          </table>
        </span>
      <tr>
        <td align="center" bgcolor="#2B4686">「<a href="login.php" target="_blank">管理員</a>」</td>
      </tr>
  </table>
  <input type="hidden" name="f" value="">
  <input type="hidden" name="act" value="">
  <input type="hidden" name="pay_id" value="">
  <input type="hidden" name="temp_id" value="">
  <input type="hidden" name="temp_id2" value="">
  <input type="hidden" name="temp_id3" value="">
  <input type="hidden" name="temp_id4" value="">
  <input type="hidden" name="at_type" value="">
  <input type="hidden" name="sat_name" value="">
</form>
<script language="JavaScript">
   parent.foot_disabled();
</script>

2.覆蓋後,馬上儲存,重新整理即可。


NAS DS107e
簫哥電腦藝術工作室
wog4_ffa_x1(v4版本)
埋頭研發網頁角色扮演WebRPG,執行進度:版本更新。
ps.應允網友要求,v4版wog已經架設了= =!!

頭像
reload0402
 
文章: 300
註冊時間: 2006-01-18 11:35 pm
來自: ISX_BMX

文章reload0402 » 2006-06-08 5:56 pm

:wink: :wink:
喔喔喔~~~
蕭哥的這個外掛不錯喔

佔用面積少很多
還挺方便的




回到 精華區

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 2 位訪客