MozTW 討論區
https://forum.moztw.org/

那位好心人幫我解決這問題呀?
https://forum.moztw.org/viewtopic.php?f=13&t=5392
1 頁 (共 1 頁)

發表人:  ~matson [ 2004-12-30, 14:27 ]
文章主題 :  那位好心人幫我解決這問題呀?

http://www.alan888.com/Discuz/viewthread.php?tid=5893
在discuz上用了下拉選單
ie能看到
但firefox看不到
在javascript控制台
發現到的錯誤是第25&135行出錯
但時卻不知道如何更改
還請指教

p.s.我在這個討論區註冊不到
ie&firefox也是說我沒打密碼...

發表人:  robinw [ 2004-12-30, 15:03 ]
文章主題 : 

你說的下拉選單是在哪裡呀@.@
我在ie裡也找不到??

發表人:  ~matson [ 2004-12-30, 17:58 ]
文章主題 : 

http://eternalwind.no-ip.com/bbs/index.php
像這個

發表人:  訪客 [ 2004-12-30, 18:33 ]
文章主題 : 

移至「問題網頁與技術傳教」討論區。

發表人:  danielwang [ 2004-12-30, 20:28 ]
文章主題 : 

http://www.alan888.com/Discuz/viewthrea ... #pid107660

發表人:  woodyhkcc [ 2005-01-01, 22:23 ]
文章主題 : 

其實matson大是幫我問的
代碼:
<!--
var h;
var l;
var t;
var isvisible;
function HideMenu(e)
{
var mX;
var mY;
var vDiv;
    if (isvisible == true)
{
        vDiv = document.getElementById("menuDiv");
        if (typeof(e)=='undefined') e = window.event;
        mX = e.clientX + document.body.scrollLeft;
        mY = e.clientY + document.body.scrollTop;
        if ((mX < parseInt(vDiv.style.left)) || (mX > parseInt(vDiv.style.left)+vDiv.offsetWidth) || (mY < parseInt(vDiv.style.top)-h) || (mY > parseInt(vDiv.style.top)+vDiv.offsetHeight)){
            vDiv.style.visibility = "hidden";
            isvisible = false;
        }
    }
}

function ShowMenu(vMnuCode) {
    vSrc = window.event.srcElement;
    vMnuCode = "<DIV style='PADDING-RIGHT: 6px; FILTER: shadow(color=#5F5F5F,direction=120); PADDING-BOTTOM: 6px;width:98px'><table border=0 cellspacing=1 cellpadding=4 bgcolor=#76AE00 style='line-height:18px' width='98' align='left'><tr bgcolor='#FFFFFF'><td width=14 background=images/common/menubg.gif>&nbsp;</td><td>" + vMnuCode + "</td></tr></table></div>";
    h = vSrc.offsetHeight + 0;
    l = vSrc.offsetLeft + 0;
    t = vSrc.offsetTop + h;
    l = parseInt(vSrc.getComputedStyle('left'));
    t = parseInt(vSrc.getComputedStyle('top'));

    menuDiv.innerHTML = vMnuCode;
    menuDiv.style.top = t + 'px';
    menuDiv.style.left = l + 'px';
    menuDiv.style.visibility = "visible";
    isvisible = true;
   
}
//-->

跟你說的改,和在header中改了hidemenu(e)
還是不行
看http://eternaliwind.no-ip.com/bbs/index.php
這樣弄到IE都看不到了

1 頁 (共 1 頁) 所有顯示的時間為 UTC + 8 小時
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/