You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.6 KiB
Plaintext
65 lines
2.6 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<style type="text/css">
|
|
.number9 {
|
|
position: relative;
|
|
width : 1000px;
|
|
height : 500px
|
|
}
|
|
</style>
|
|
<script type="text/javascript">
|
|
|
|
function fn_report(str_name){
|
|
var form_tag = document.getElementById("clipform");
|
|
if("number1" == str_name){
|
|
var winForm = document.getElementById("clipform");
|
|
$('input[name=crfName]').attr('value','CLIP');
|
|
var url = "./share.jsp";
|
|
window.open("","clipform","location=yes,width=1000, height=500");
|
|
winForm.action=url;
|
|
winForm.method ="post";
|
|
winForm.target="clipform";
|
|
}else if("number2" == str_name ){
|
|
var winForm = document.getElementById("clipform");
|
|
$('input[name=crfName]').attr('value','CLIP');
|
|
$('input[name=crfDbName]').attr('value','oracle1');
|
|
var url = "./share.jsp";
|
|
window.open("","clipform","width=1000, height=500");
|
|
winForm.action=url;
|
|
winForm.method ="post";
|
|
winForm.target="clipform";
|
|
}else if("number3" == str_name ){
|
|
$('input[name=crfName]').attr('value','CLIP');
|
|
$('input[name=crfDbName]').attr('value','oracle1');
|
|
document.getElementById("clipform").target = "_self";
|
|
}else if("number4" == str_name ){
|
|
$('input[name=crfName]').attr('value','CLIP');
|
|
$('input[name=crfDbName]').attr('value','oracle1');
|
|
var el=document.getElementById('divupper');
|
|
//el.innerHTML="<iframe class='number4' name='number4'></iframe>";
|
|
el.innerHTML="<iframe class='number4' name='number4' width='1000px' height='500px'></iframe>";
|
|
form_tag.target = str_name;
|
|
}
|
|
form_tag.submit();
|
|
}
|
|
</script>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<script type='text/javascript' src='./js/jquery-1.11.1.js'></script>
|
|
<title>CLIP report</title>
|
|
</head>
|
|
<body>
|
|
<form id="clipform" method="post" action = "share.jsp">
|
|
<input type ="hidden" value="CLIP" name="crfName">
|
|
<input type ="hidden" value="" name="crfDbName">
|
|
params : <input type ="text" value="" name="crfParams"> ex) param:1|abc:2<br><br>
|
|
<input type ="button" style="WIDTH: 50pt; HEIGHT: 30pt" onclick="fn_report('number1')" value="Default" />
|
|
<input type ="button" style="WIDTH: 40pt; HEIGHT: 30pt" onclick="fn_report('number2')" value="param" />
|
|
<input type ="button" style="WIDTH: 60pt; HEIGHT: 30pt" onclick="fn_report('number3')" value="win_open" />
|
|
<input type ="button" style="WIDTH: 40pt; HEIGHT: 30pt" onclick="fn_report('number4')" value="iframe" />
|
|
</form>
|
|
<br>
|
|
<div id="divupper" style="width:1000px; height:500px; background-color:Green; "></div>
|
|
</body>
|
|
</html> |