//doBu,iconBU是按钮,请自己做
var danji  = function (e){
   // alert(e.shiftKey);
    if(e.button==0)
    {
        if(e.ctrlKey==true)
        {
            $.writeln ("ctrl+1")
        }
        if(e.altKey==true)
        {
           $.writeln ("alt+1")
        }
    }
}
iconBU.addEventListener('click',danji)
doBu.addEventListener('mousedown',danji)

Leave a Reply

Your email address will not be published.