您好,欢迎进入西安中心医院官方网站!

手机版二维码
医院新闻 通知公告
Qfast.add('widgets', { path: "js/terminator2.2.min.js", type: "js", requires: ['fx'] }); Qfast(false, 'widgets', function () { K.tabs({ id: 'fsD1', //焦点图包裹id conId: "D1pic1", //** 大图域包裹id tabId:"D1fBt", tabTn:"a", conCn: '.fcon', //** 大图域配置class auto: 1, //自动播放 1或0 effect: 'fade', //效果配置 eType: 'click', //** 鼠标事件 pageBt:true,//是否有按钮切换页码 bns: ['.prev', '.next'],//** 前后按钮配置class interval: 3000 //** 停顿时间 }) })
为您服务
//document.writeln("
"); document.writeln("
"); function showsubmenu() { eval("submenu" +".style.display='none';"); } var obj2=document.getElementById("divpiao2"); var xPos2 = 800; var yPos2 = 50; var step2 = 1; var delay2 = 30; var height2 = 0; var Hoffset2 = 0; var Woffset2 = 0; var yon2 = 0; var xon2 = 0; var pause2 = true; var interval2; document.getElementById('divpiao2').style.top = yPos2 + "px"; function changePos2() { width2 = document.documentElement.clientWidth; height2 = document.documentElement.clientHeight; Hoffset2 = document.getElementById('divpiao2').offsetHeight; Woffset2 = document.getElementById('divpiao2').offsetWidth; document.getElementById('divpiao2').style.left = xPos2 + document.documentElement.scrollLeft + "px"; document.getElementById('divpiao2').style.top = yPos2 + document.documentElement.scrollTop + "px"; if (yon2) { yPos2 = yPos2 + step2; } else { yPos2 = yPos2 - step2; } if (yPos2 < 0) {yon2 = 1;yPos2 = 0;}if (yPos2 >= (height2 - Hoffset2)) { yon2 = 0; yPos2 = (height2 - Hoffset2); } if (xon2) { xPos2 = xPos2 + step2; } else { xPos2 = xPos2 - step2; } if (xPos2 < 0) {xon2 = 1;xPos2 = 0;}if (xPos2 >= (width2 - Woffset2)) { xon2 = 0; xPos2 = (width2 - Woffset2); } } function start2() { document.getElementById('divpiao2').visibility = "visible"; interval2 = setInterval('changePos2()', delay2); } obj2.onmouseover=function() { pause_resume2(); } obj2.onmouseout=function() { pause_resume2(); } function pause_resume2() { if(pause2) { clearInterval(interval2); pause2 = false; } else { interval2 = setInterval('changePos2()',delay2); pause2 = true; } } start2();