2 頁 (共 2 頁)

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

文章發表於 : 2010-08-16 12:43 pm
aaasss9555
在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='';
};

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
}

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

文章發表於 : 2010-08-21 8:06 am
黑咪
由於解決不到之前的問題
所以我改成像發出新拍賣的那樣

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