[已解決]V4的收購功能

提供WOG各方面的技術問題,並提供最新path更新。

版主: 涅魂, 簫哥, 10度C~

aaasss9555
 
文章: 172
註冊時間: 2009-07-30 9:15 pm

Re: [閒聊]V4的收購功能

文章aaasss9555 » 2010-08-16 12:43 pm

在function message_cls有加入嗎?
代碼: 選擇全部
set_window();
_docWidth=UI.window_w;
_docHeight=UI.window_h;


取消部分在這
代碼: 選擇全部
<input type="button" value="取消" onClick="parent.p_s_close();"
當onClick(按鍵按下後)執行parent.p_s_close();
所以你應該是沒有加入下面這段
代碼: 選擇全部
function p_s_close(){
   f.getElementById("wog_select").innerHTML='';
};



書本的好壞不在於厚度而是內容;
人生的意義在於內涵而不是長短。


黑咪
 
文章: 161
註冊時間: 2007-12-24 11:23 am
性別: 男生

Re: [閒聊]V4的收購功能

文章黑咪 » 2010-08-16 6:45 pm

也有
只要會在ie中發現錯誤的地方都補好了

不過在function set_window中,
_docHeight=((rootEl.scrollTop==0)?rootEl.clientHeight:rootEl.scrollHeight);
_docWidth=((rootEl.scrollLeft==0)?rootEl.clientWidth:rootEl.scrollWidth);
會引致錯誤

但把set_window()放左比較後的位置又沒事

代碼: 選擇全部
function message_cls(a,bline) {
    var ff=parent.wog_view.document;
    set_window();
    _docWidth=UI.window_w;
    _docHeight=UI.window_h;
    if(bline==null){
        bline=2;
    }
    if(a!=null){
        ff=a;
    }
    ff.close();
    ff.write('<html>');
    ff.write('<head>');
    ff.write('<meta http-equiv="Content-Type" content="text/html; charset=big5">');
    ff.write('<meta http-equiv=Cache-Control content="no-cache">');
    ff.write('<style type=text/css>');
    ff.write('td {font-family : verdana,Arial,Helvetica ;font-size : 10pt;   text-align : center;}');
    ff.write('td.righta{background-image: url(images/r1.jpg);}');
    ff.write('.b1 {text-align : left;}');
    ff.write('</style>');
    ff.write('</head>');
    ff.write('<body oncontextmenu="window.event.returnValue=false" bgcolor="#000000" text="#EFEFEF" link="#EFEFEF" vlink="#EFEFEF" alink="#EFEFEF" style="Background-attachment:fixed; background-image: url('+img+'W_hs03.gif);" >');
    ff.write('<div id="wog_center_all" onclick="parent.lay_show(\'wog_center_all\')" style="position:absolute; left:1px; top:1px;Z-INDEX: 1;opacity :0.94;filter:alpha(opacity=94);width:'+UI.set_center_w+'"><table  border="0" style="width: 100%" align="left" bgcolor="#000000"><tr><td align="left"><div id="wog_center" ></div></td></tr></table></div>');
    ff.write('<div id="wog_select" style="position: absolute;left: '+((_docWidth/2)-175)+'; top: '+((_docHeight/2)-50)+'; Z-INDEX: 300;opacity :0.9;filter:alpha(opacity=90);"></div>');
    ff.write('<div id="showboard" name="showboard" style="display:none;position:absolute"></div>'); //border:2px solid #191970;是小視窗的BORDER
}





黑咪
 
文章: 161
註冊時間: 2007-12-24 11:23 am
性別: 男生

Re: [閒聊]V4的收購功能

文章黑咪 » 2010-08-21 8:06 am

由於解決不到之前的問題
所以我改成像發出新拍賣的那樣

呵~最後成功了
謝謝一直以來aaasss9555 的幫忙, 使我獲益良多
真的十分的感謝



上一頁

回到 Online FF Battle-WOG官方聯盟推廣處

誰在線上

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