|
<div id="dialBg"><img src="/assetssoftphone/dialBg.png"></div> |
|
<div id="dialImage" title="呼叫" class="dialImage_disabled" disabled></div> |
|
<div id="disconImage" title="挂机" class="disconImage_disabled" disabled></div> |
|
<div id="holdImage" title="保持" class="holdImage_disabled" disabled></div> |
|
<div id="transferImage" title="转接" class="transferImage_disabled" disabled></div> |
|
<div id="transferSelfImage" title="一键转接" class="transferSelfImage_disabled" disabled></div> |
|
<div id="ivrImage" title="IVR" class="ivrImage_disabled" disabled></div> |
|
<div id="conferenceImage" title="电话会议" class="conferenceImage_disabled" disabled></div> |
他的这个呼叫按钮是用JS控制的还能模拟点击么
$(document).ready(function(){$("input[id=phoneNumber]").keypress(function(e){var t=e.keyCode?e.keyCode:e.which?e.which:e.charCode;return t==13&&$("phoneNumber").val()!=""&&cti.Agent.getInstance().getState()!="Logout"?($("#dialImage").trigger("click"),!1):!0});if(/msie/.test(navigator.userAgent.toLowerCase()))for(var e=0;e<document.images.length;e++){var t=document.images[e],n=t.src.toUpperCase();if(n.substring(n.length-3,n.length)=="PNG"){var r=t.id?"id='"+t.id+"' ":"",i=t.className?"class='"+t.className+"' ":"",s=t.title?"title='"+t.title+"' ":"title='"+t.alt+"' ",o="display:inline-block;"+t.style.cssText;t.align=="left"&&(o="float:left;"+o),t.align=="right"&&(o="float:right;"+o),t.parentElement.href&&(o="cursor:hand;"+o);var u="<span "+r+i+s+' style="'+"width:"+t.width+"px; height:"+t.height+"px;"+o+";"+"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"+"(src='"+t.src+"', sizingMethod='scale');\"></span>";t.outerHTML=u,e-=1}}$(window).unload(function(){monitor(),cti.doClose()}),cti.doOpen()});