IframeGalio

出自OpenISEE

跳轉到: 導航, 搜尋

Iframe VE Content Sample for Galio

VE Tag
<isee:iframe name="iframe" skin="iframe" src="pages/image.jsp">
</isee:iframe>

This VE tag appears in /demo/iframe.jsp of ISEE Demo project

Style
.ve2 {
  border:10px outset #23579b;
  position:absolute;
  top:90px;
  left:290px;
}
.ve2 td{
  -ant-user-input:enabled;
  -ant-highlight-color:transparent
}
.ve2 .veFrameCell{
  -ant-user-input:disabled
}
.ve2 .veFrame{
  margin:0px;
  border:0px;
  width:350px;
  height:240px;
}
.ve2 .veInd{
  position:absolute;
  top:-23px;
  background-image:url(/iseeDemo/skinLib/iframe/001/f1.png);
  width:40px;
  height:23px;
  visibility:hidden;
}
Structure
<div id='z2' class='ve2'>
  <div class='veInd'></div>
  <table border='0' cellspacing='0' cellpadding='1'>
    <tr><td colspan='3'></td></tr>
    <tr>
      <td></td>
      <td class='veFrameCell'>
        <iframe src='pages/image.jsp' name='z2Ifm' class='veFrame' scrolling='no' width='300' height='200'></iframe>
      </td>
      <td></td>
    </tr>
    <tr><td colspan='3'></td></tr>
  </table>
</div>
Javascript
<script type='text/javascript'>
  var iframe=new iscl.IfmCtrl(window,'ve2',true);
  iscl.addContextAction(window,1,new Function('iframe.init()'));
  iframe.nav('left',"list");
</script>
個人工具
開發者首頁