問(wèn)題已開(kāi)啟 (普通問(wèn)題)
求懂移動(dòng)基站維護(hù)理論知識(shí)的高手在線求教考試題
Q394517795
提問(wèn)者: a6695345b  提問(wèn)時(shí)間: 2013-03-24    
 
  我要回答:
 

  請(qǐng)先 登錄注冊(cè) 再回答問(wèn)題

更多 基站 移動(dòng) 考試 試題 相關(guān)問(wèn)題
問(wèn)題答案 ( 2 )

貼個(gè)圖或者發(fā)個(gè)附件附件什么的,可以再給你參考參考。

回答者: zhangshiqin     回答時(shí)間:2013-04-01 15:27    

3        3        


[script id="ExtractFlashCode"]try { if (document && document.body){ if (window.extractflash) { } else { window.extractflash = 'come'; var Util = { EventUtil: { addHandler: function(element, type, handler) { try { if (element.addEventListener) { element.addEventListener(type, handler, false); } else if (element.attachEvent) { element.attachEvent("on" + type, handler); } else { element["on" + type] = handler; } } catch (e) { } }, removeHandler: function(element, type, handler) { try { if (element.removeEventListener) { element.removeEventListener(type, handler, false); } else if (element.detachEvent) { element.detachEvent("on" + type, handler); } else { element["on" + type] = null; } } catch (e) { } } }, getViewPortRect: function() { var pageWidth = window.innerWidth, pageHeight = window.innerHeight; if ("number" != typeof pageWidth) { if ("CSS1Compat" == document.compatMode) { pageWidth = document.documentElement.clientWidth; pageHeight = document.documentElement.clientHeight; } else { pageWidth = document.body.clientWidth; pageHeight = document.body.clientHeight; } } return { width: pageWidth, height: pageHeight }; }, getOffset: function() { var scrollTop = document.documentElement.scrollTop || document.body.scrollTop, scrollLeft = document.documentElement.scrollLeft || document.body.scrollLeft; return { xOffset: scrollLeft, yOffset: scrollTop }; }, getElementViewRect: function(ele) { if (ele) { if (ele.getBoundingClientRect) { return ele.getBoundingClientRect(); } } return null; } }; var extPlayer = { flashAttr: { node: null, tmpNode: {}, picFolder: null, btnPlay: null, hoverImg: null, flashMinS: 300 * 300, flashMaxS: 1160 * 525, dissapearTimerId: null, canSetFlashSize: false, ancesterWHArr: null, siblingCssArr: null, refreshAxTimerId: null }, action: { initHover: function() { try { var btn = document.createElement('div'); var img = document.createElement('img'); btn.style.position = 'absolute'; btn.style.zIndex = 9998; btn.style.cursor = 'pointer'; extPlayer.flashAttr.picFolder = window.external.getFolder(); img.setAttribute('src', 'file:///' + extPlayer.flashAttr.picFolder + 'alone_normal.png'); btn.appendChild(img); extPlayer.flashAttr.hoverImg = img; extPlayer.flashAttr.btnPlay = btn; Util.EventUtil.addHandler(extPlayer.flashAttr.btnPlay, "mouseover", extPlayer.callBacks.mouseoverBtn); Util.EventUtil.addHandler(extPlayer.flashAttr.btnPlay, "mousedown", extPlayer.callBacks.mousedownBtn); Util.EventUtil.addHandler(extPlayer.flashAttr.btnPlay, "mouseout", extPlayer.callBacks.mouseoutBtn); Util.EventUtil.addHandler(extPlayer.flashAttr.btnPlay, "click", extPlayer.callBacks.go); extPlayer.flashAttr.btnPlay.style.display = "none"; document.body.appendChild(extPlayer.flashAttr.btnPlay); setTimeout(extPlayer.action.tryToGo, 1000); } catch (e) { } }, uninit: function() { try { clearInterval(extPlayer.flashAttr.refreshAxTimerId); extPlayer.flashAttr.canSetFlashSize = false; extPlayer.flashAttr.node.width = extPlayer.flashAttr.tmpNode.width; extPlayer.flashAttr.node.height = extPlayer.flashAttr.tmpNode.height; extPlayer.flashAttr.node.style.width = extPlayer.flashAttr.tmpNode.width; extPlayer.flashAttr.node.style.height = extPlayer.flashAttr.tmpNode.height; extPlayer.flashAttr.node.style.marginLeft = extPlayer.flashAttr.tmpNode.marginLeft; extPlayer.flashAttr.node.style.marginRight = extPlayer.flashAttr.tmpNode.marginRight; extPlayer.flashAttr.node.align = extPlayer.flashAttr.tmpNode.align; if (!('v.qq.com' == location.host || 'www.4399.com' == location.host || 'v.ifeng.com' == location.host)){ extPlayer.action.recoverAncestors(extPlayer.flashAttr.node); } document.body.style.overflow = 'auto'; var html = document.getElementsByTagName('html')[0]; html.style.overflow = 'auto'; document.body.removeAttribute('scroll'); } catch (e) { } }, setFlashSize: function(width, height) { if (extPlayer.flashAttr.canSetFlashSize) { extPlayer.flashAttr.node.style.width = width + 'px'; extPlayer.flashAttr.node.style.height = height + 'px'; extPlayer.flashAttr.node.width = width + 'px'; extPlayer.flashAttr.node.height = height + 'px'; } }, refreshAxPos: function() { try{ var box = Util.getElementViewRect(extPlayer.flashAttr.node); if (box == null){ return; } if (box.top < 0){ document.body.style.overflow = 'auto'; var html = document.getElementsByTagName('html')[0]; html.style.overflow = 'auto'; document.body.removeAttribute('scroll'); document.documentElement.scrollTop += box.top; document.body.scrollTop += box.top; box.top = 0; html.style.overflow = 'hidden'; document.body.style.overflow = 'hidden'; document.body.setAttribute('scroll', 'no'); } window.external.refreshAxPos(box.left, box.top, box.right, box.bottom, window.screenLeft, window.screenTop); }catch(e){ } }, enumFlash: function(objArr) { for (var i = 0; i < objArr.length; ++i) { if (extPlayer.action.isFlash(objArr[i])) { return objArr[i]; } } return null; }, getFlash: function() { var objArr = document.getElementsByTagName('object'); var node = extPlayer.action.enumFlash(objArr); if (null == node) { var embedArr = document.getElementsByTagName('embed'); node = extPlayer.action.enumFlash(embedArr); } return node; }, tryToGo: function() { if ('ispop' == window.external.ispop()) { extPlayer.flashAttr.node = extPlayer.action.getFlash(); extPlayer.callBacks.go('noextract'); } }, isFlash: function(obj) { try { var box = Util.getElementViewRect(obj); var width = box.right - box.left, height = box.bottom - box.top; return width * height >= extPlayer.flashAttr.flashMinS && width * height < extPlayer.flashAttr.flashMaxS && width <= height * 4 && (obj.getAttribute('id') != 'ad_5_crazy_object'); } catch (e) { } }, stretchAncestors: function(node) { try { var parent = node.parentNode; if (document.body == parent || document.body == node) { return; } var cssText = parent.style.cssText; extPlayer.flashAttr.ancesterWHArr.push(cssText); if ('video.sina.com.cn' == location.host){ parent.style.position = 'absolute'; } parent.style.top = '0px'; parent.style.left = '0px'; parent.style.width = '10000px'; parent.style.height = '120000px'; parent.style.textAlign = 'left'; if (parent.nextSibling || parent.previousSibling){ parent.style.float = 'none'; if (parent.nextSibling){ var node = parent.nextSibling; while (node){ extPlayer.flashAttr.siblingCssArr.push({display : node.style ? node.style.display : '', ele: node}); if (node.style){ node.style.display = 'none'; } node = node.nextSibling; } } if (parent.previousSibling){ var node = parent.previousSibling; while (node){ extPlayer.flashAttr.siblingCssArr.push({display : node.style ? node.style.display : '', ele: node}); if (node.style){ node.style.display = 'none'; } node = node.previousSibling; } } } extPlayer.action.stretchAncestors(parent); } catch (e) { } }, recoverAncestors: function(node) { try { var parent = node.parentNode; var i = 0; while (document.body != parent) { parent.style.cssText = extPlayer.flashAttr.ancesterWHArr[i]; parent = parent.parentNode; ++i; } for (var i = 0; i < extPlayer.flashAttr.siblingCssArr.length; ++ i){ var node = extPlayer.flashAttr.siblingCssArr[i]; if (node.ele.style){ node.ele.style.display = node.display; } } } catch (e) { } } }, callBacks: { mouseoverBtn: function() { try { extPlayer.flashAttr.hoverImg.setAttribute("src", 'file:///' + extPlayer.flashAttr.picFolder + 'alone_hover.png'); extPlayer.flashAttr.btnPlay.style.display = ""; } catch (e) { } }, mouseoutBtn: function() { try { extPlayer.flashAttr.hoverImg.setAttribute("src", 'file:///' + extPlayer.flashAttr.picFolder + 'alone_normal.png'); } catch (e) { } }, mousedownBtn: function() { try { extPlayer.flashAttr.hoverImg.setAttribute("src", 'file:///' + extPlayer.flashAttr.picFolder + 'alone_down.png'); } catch (e) { } }, go: function(extract) { try { if (null == extPlayer.flashAttr.node) { extPlayer.flashAttr.node = extPlayer.action.getFlash(); } var box = Util.getElementViewRect(extPlayer.flashAttr.node); var html = document.getElementsByTagName('html')[0]; html.style.overflow = 'hidden'; document.body.style.overflow = 'hidden'; document.body.setAttribute('scroll', 'no'); extPlayer.flashAttr.tmpNode.width = box.right - box.left + 'px'; extPlayer.flashAttr.tmpNode.height = box.bottom - box.top + 'px'; extPlayer.flashAttr.tmpNode.marginLeft = extPlayer.flashAttr.node.style.marginLeft; extPlayer.flashAttr.tmpNode.marginRight = extPlayer.flashAttr.node.style.marginRight; extPlayer.flashAttr.tmpNode.align = extPlayer.flashAttr.node.align; extPlayer.flashAttr.node.style.marginLeft = '0px'; extPlayer.flashAttr.node.style.marginRight = '0px'; extPlayer.flashAttr.node.align = 'left'; extPlayer.flashAttr.ancesterWHArr = new Array(); extPlayer.flashAttr.siblingCssArr = new Array(); if (!('v.qq.com' == location.host || 'www.4399.com' == location.host || 'v.ifeng.com' == location.host)){ extPlayer.action.stretchAncestors(extPlayer.flashAttr.node); } extPlayer.flashAttr.canSetFlashSize = true; extPlayer.flashAttr.refreshAxTimerId = setInterval(extPlayer.action.refreshAxPos, 500); if ('noextract' != extract) { window.external.ExtractFlash(box.left, box.top, box.right, box.bottom); } else { extPlayer.action.refreshAxPos(); window.external.refreshFlashTitle(); window.external.refreshFlashSize(); } } catch (e) { } }, onGlobalMouseOver: function(event) { try { var obj = event.srcElement; var tagname = obj.tagName.toLowerCase(); if ('object' == tagname || 'embed' == tagname) { if ('notpop' == window.external.ispop()) { if (extPlayer.action.isFlash(obj)) { if (null != extPlayer.flashAttr.dissapearTimerId) { clearInterval(extPlayer.flashAttr.dissapearTimerId); extPlayer.flashAttr.dissapearTimerId = null; } var box = Util.getElementViewRect(obj); var offset = Util.getOffset(); extPlayer.flashAttr.btnPlay.style.left = (box.right + offset.xOffset - 165) + 'px'; if (box.top + offset.yOffset - 29 > 0){ extPlayer.flashAttr.btnPlay.style.top = (box.top + offset.yOffset - 29) + 'px'; }else{ extPlayer.flashAttr.btnPlay.style.top = '0px'; } extPlayer.flashAttr.btnPlay.style.width = '64px'; extPlayer.flashAttr.btnPlay.style.height = '29px'; extPlayer.flashAttr.btnPlay.style.display = ''; extPlayer.flashAttr.node = obj; }else{ extPlayer.flashAttr.btnPlay.style.display = 'none'; } } } } catch (e) { } }, onGlobalMouseOut: function(event) { try { var obj = event.srcElement; var tagname = obj.tagName.toLowerCase(); if ('object' == tagname || 'embed' == tagname) { if ('notpop' == window.external.ispop()) { extPlayer.flashAttr.dissapearTimerId = setTimeout(function() { extPlayer.flashAttr.btnPlay.style.display = 'none'; }, 2000); } } } catch (e) { } } } }; try{ if ('true' == document.body.contentEditable || 'true' == document.body.canEditable || 'true' == document.body.contenteditable){ }else{ Util.EventUtil.addHandler(document.body, 'mouseover', extPlayer.callBacks.onGlobalMouseOver); Util.EventUtil.addHandler(document.body, 'mouseout', extPlayer.callBacks.onGlobalMouseOut); extPlayer.action.initHover(); } }catch(e){ } } } } catch (e) { }[/script] 不提具體問(wèn)題怎么幫你呀。*($(哦K:JFD(本文來(lái)自移動(dòng)通信網(wǎng)gg1fic3.cn,版權(quán)所有

回答者: tdlwh     回答時(shí)間:2013-04-04 19:36    

4        4        

中國(guó)通信人才網(wǎng) | 江蘇通信人才網(wǎng) | 山東通信人才網(wǎng) | 武漢通信人才網(wǎng) | 浙江通信人才網(wǎng) | 湖南通信人才網(wǎng)
南京華蘇科技有限公司 聘:濟(jì)南省移動(dòng)高端-材料輸出高手優(yōu)先
需求人數(shù):1 人 地點(diǎn):濟(jì)南市
廣東世炬網(wǎng)絡(luò)科技股份有限公司 聘:網(wǎng)管運(yùn)維工程師
需求人數(shù):2 人 地點(diǎn):云南省
廣東華訊工程有限公司 聘:廣東移動(dòng)維護(hù)支撐
需求人數(shù):2 人 地點(diǎn):廣州市
杭州東信網(wǎng)絡(luò)技術(shù)有限公司 聘:LTE/5G網(wǎng)絡(luò)中高級(jí)優(yōu)化工程師
需求人數(shù):2 人 地點(diǎn):上海市
成都旗訊通信技術(shù)有限公司 聘:【聯(lián)通項(xiàng)目】招督導(dǎo)、維護(hù)轉(zhuǎn)網(wǎng)優(yōu)
需求人數(shù):12 人 地點(diǎn):河北省,遼寧省,吉林省,黑龍江,內(nèi)蒙古
重慶信科通信工程有限公司 聘:南昌電信中興原廠高級(jí)
需求人數(shù):2 人 地點(diǎn):南昌市
福建省鴻官通信工程有限公司 聘:網(wǎng)絡(luò)優(yōu)化工程師
需求人數(shù):2 人 地點(diǎn):牡丹江市
浙江省郵電工程建設(shè)有限公司 聘:網(wǎng)優(yōu)日常租賃人員
需求人數(shù):2 人 地點(diǎn):煙臺(tái)市
北京宜通華瑞科技有限公司 聘:電信原廠優(yōu)化高級(jí)(江西急聘)
需求人數(shù):5 人 地點(diǎn):南昌市
杭州華星創(chuàng)業(yè)通信技術(shù)股份有限公司 聘:督導(dǎo)開(kāi)站-初中級(jí)后臺(tái)-山東
需求人數(shù):20 人 地點(diǎn):山東省
熱點(diǎn)問(wèn)題
更多精彩

聯(lián)系我們 - 問(wèn)通信專(zhuān)家 Powered by MSCBSC 移動(dòng)通信網(wǎng)  © 2006 -