Cognos10에서 원통형 그림 초점 가져오기

2707 단어 Cognos
<iframe frameborder="0" id="frameChart" src="" scrolling="no" height="350" width="100%"></iframe>
<div id="loading" style="display:block; padding:100px 0 100px 0;text-align:center;color:#999999;font-size:12px;">
     ...
</div>

<script type="text/javascript">
function  implementClick(aa) {
   
                  //       
                  var bb = aa.split("
"); // "=" var cc = aa.indexOf('=')+1; // GGSN_ID var dd = trim(aa.substr(cc,bb[0].length-cc)); ggsnid = dd; // Iframe var iframe= document.getElementById("frameChart"); var loadding = document.getElementById("loading"); // Ifram iframe.src="http://localhost:9300/p2pd/servlet/dispatch?b_action=cognosViewer&ui.action=run&ui.object=%2fcontent%2ffolder%5b%40name%3d%27g00176604%27%5d%2fpackage%5b%40name%3d%27PS_TEST_RAT_RAC%27%5d%2freport%5b%40name%3d%2728-%e7%82%b9%e5%87%bb%e5%9b%be%e8%a1%a8%e8%8e%b7%e5%be%97%e5%9b%be%e7%89%87%e4%b8%8a%e7%9a%84%e4%bf%a1%e6%81%af(%e5%88%97%e8%a1%a8)%27%5d&ui.name=28-%e7%82%b9%e5%87%bb%e5%9b%be%e8%a1%a8%e8%8e%b7%e5%be%97%e5%9b%be%e7%89%87%e4%b8%8a%e7%9a%84%e4%bf%a1%e6%81%af(%e5%88%97%e8%a1%a8)&run.outputFormat=&run.prompt=false&cv.toolbar=false&cv.header=false&p_ggsnid="+ggsnid; loadding.style.display = 'none'; } var ggsnid; // function trim(str) { return str.replace(/(^\s*)|(\s*$)/g,""); } // function addPillarClick() { alert("dd"); // var areaObjs = document.getElementsByTagName('area'); for(var i = 0; i < areaObjs.length; i++) { var titleTemp = areaObjs[i].getAttribute("title"); //if ("chartElement" == areaObjs[i].getAttribute("type") && -1 == titleTemp.indexOf("%")) if ("chartElement" == areaObjs[i].getAttribute("type") ) { areaObjs[i].onclick = function(){implementClick(this.getAttribute("title"));}; } } } addPillarClick(); </script>

좋은 웹페이지 즐겨찾기